Database Administrators Stack Exchange is a question and answer site for database professionals who wish to improve their database skills and learn from others in the community. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I was planning to drop all the tables from a test account, but unfortunately, I didn't notice that I was in the production account when I chose to drop all the tables of my db from phpmyadmin interface.

Is there any way of recovering my db content?

share|improve this question
If you don't have a backup, not really. – Derek Downey Oct 2 '11 at 18:45

Sorry, that you had such an accident.

If you have binary logs on, you could try the recovery options described here: Point in time recovery

Another thing is to restore a backup, hopefully, you have one. Changes made after this, could be restored as mentioned above.

Good luck!

share|improve this answer

If you have a current backup restore from that backup.

If you don't you have just learned why you need to setup backups on your production servers.


share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.