Restoring deleted mysql database

时间秒杀一切 提交于 2019-12-24 03:52:38

问题


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?


回答1:


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



来源:https://stackoverflow.com/questions/22061776/restoring-deleted-mysql-database

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!