恢复已删除的mysql数据库 [英] Restoring deleted mysql database

查看:151
本文介绍了恢复已删除的mysql数据库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经从MAMP中使用phpmyadmin删除了我的数据库,但是我将时光机连接到了我的笔记本电脑,因此所有内容都备份在那里.我在MAMP下看到文件夹名称db.我看到很多文件.是否可以恢复/导入数据库?

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?

推荐答案

您必须具有:

  • ibdata1
  • ib_logfile0
  • ib_logfile1
  • 您的mysql_database文件夹中的
  • .FRM文件
  • 您想要销毁的MAMP/MAMP Pro的最新安装 (如果需要的话)
  • 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)

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

这篇关于恢复已删除的mysql数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆