Leopard Server 的 MySQL 在哪里存储数据?
我正在尝试从 Time Machine 恢复 MySQL 数据库中的表,但是我不知道也无法找到 Leopard Server 的 MySQL 存储其数据文件的位置。
- 有谁知道它们存放在哪里?
- 有没有一种简单的方法可以在它们上运行 mysqldump 而无需恢复它们?
- 关于 Time Machine 和 MySQL 数据文件我还应该了解什么吗?
I'm trying to recover a table in a MySQL database from Time Machine, however I don't know and can't find where Leopard Server's MySQL stores its data files.
- Does anyone know where they are stored?
- Is there an easy way to run mysqldump on them without restoring them?
- Is there anything else I should know about Time Machine and MySQL data file(s)?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
连接到数据库并发出
Which 将会告诉您正确的答案,即使它已从默认值更改。
Connect to the database and issue
Which will tell you the right answer even if it's been changed from the default.
对于我的标准安装(来自包),它位于
For my standard install (from a package) it was located in
它位于 /var/mysql/dbname 中,其中 dbname 是数据库的名称。
It's in /var/mysql/dbname , where dbname is the name of the database.