Sequel Pro / MAMP在哪里存储本地数据库? [英] Where does Sequel Pro / MAMP store local databases?

查看:1930
本文介绍了Sequel Pro / MAMP在哪里存储本地数据库?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在我的计算机上创建了几个数据库,通过Sequel Pro& MAMP,并且正在运行localhost以查看它们。但是,我重新安装了Mac OS Lion,我忘了将数据库备份到.sql文件。

I had a few databases created on my computer via Sequel Pro & MAMP, and was running localhost to view them. However, I did a fresh install of Mac OS Lion, and I forgot to backup the databases to .sql files.

我会定期备份我的档案,并备有电脑预先安装的副本。有人知道数据库文件的路径吗?

I do backup my files regularly, and have a copy of the computer pre-install. Does anyone know the path to the db files? Are they stored in a format that I could rebuild, so I could import into Sequel Pro?

推荐答案

Brian W的回答没有真正帮助我使用MAMP Pro(v2.1.4),但幸运的是有人做了。我的位置是:

Brian W's answer didn't really help with me using MAMP Pro (v2.1.4), but luckily someone else did. Location for mine were:

/ Library / Application Support / appsolute / MAMP PRO / db / mysql

/Library/Application Support/appsolute/MAMP PRO/db/mysql

也说他们已经把它移动到Dropbox,然后使用unix符号链接的原始位置(不是一个Mac OS X别名,因为他们不工作),这样它也得到备份。

They also said that they've moved it to Dropbox and then used a unix symlink for the original location (not a Mac OS X alias as they don't work), that way it does get backed up as well.

这篇关于Sequel Pro / MAMP在哪里存储本地数据库?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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