简体   繁体   中英

Restoring deleted mysql database

I have deleted my database using phpmyadmin from MAMP, but i have time machine attached to my laptop, so everything is backed up there. I saw folder name db under MAMP, under it. I see a lot of files. Is there a way if i can restore/import my database?

You must have:

  • ibdata1
  • ib_logfile0
  • ib_logfile1
  • .FRM files from your mysql_database folder
  • Fresh installation of MAMP / MAMP Pro that you are willing to destroy (if need be)

Check this:
http://www.quora.com/Jordan-Ryan/Web-Dev/How-to-Recover-innoDB-MySQL-files-using-MAMP-on-a-Mac

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM