MySql whole database (tables and entities) deleted with backups. Is there any way to recreate it.

Question

I am working on a web project using php CodeIgniter framework. I used lots of tables and entities in my project database. But unfortunately the database is deleted from my localhost and so the backups.

Now it is very time consuming to create the tables and all the entities for my database that i used for my project.

Is there any way to automatically create the tables and entities from my php source code?


Show source
| php   | database   | mysql   | entity-framework   | codeigniter   2017-01-02 10:01 1 Answers

Answers to MySql whole database (tables and entities) deleted with backups. Is there any way to recreate it. ( 1 )

  1. 2017-01-02 10:01

    Actually if you put your sql codes, to create the tables if they don´t exist, then it is possible to automatically create the tables and entities from your php source code, when the database was deleted.

    For example. Try select from… else create table… and retry select… Something like that…

Leave a reply to - MySql whole database (tables and entities) deleted with backups. Is there any way to recreate it.

◀ Go back