pajoo Posted December 13, 2011 Share Posted December 13, 2011 Today i found out that my database was deleted by someone or something. My question is, Is it possible to make a MySQL Database from the PHP files of the deleted Database? Quote Link to comment Share on other sites More sharing options...
mikosiko Posted December 13, 2011 Share Posted December 13, 2011 very unlikely... the only way to do it is if you have in your php files: - The query to re-create your DB schema (unlikely, but could be done manually). - The queries to re-create your TABLE(s), INDEXES, and any other object that you used in your DB Schema. (unlikely, but possible) - The queries with the all the INSERT's necessarily to re-create your last valid data for each TABLE (very unlikely, but maybe no data could be an acceptable option) Moral: Always take backups Quote Link to comment Share on other sites More sharing options...
pajoo Posted December 15, 2011 Author Share Posted December 15, 2011 Okay thank you! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.