基于文件访问mysql数据库
好的,对于所有 mysql 人员来说,这是一个简单的问题:
我们的 Win 2003 服务器昨晚崩溃了(在安装 Windows 更新期间)。我们能够从备份中恢复旧数据,但我们丢失了 22 小时的数据。我们无法启动 Windows,因此无法通过 mySql admin 访问数据,这是我通常用来进行备份的程序。然而,我们已经能够将所有数据复制到外部硬盘。
如何使用 MySql 查询浏览器和 MySql Administrator 工具访问这些数据?
Okay, heres a easy one for all you mysql folks out there:
Our Win 2003 server crashed last night (durring installing of windows updates). We were able to restore old data from backup, but we miss 22 hours of data. We cannot start windows and therefore not access the data through mySql admin which is the program I use normally to make backup. We have however been able to copy all data to external harddisk.
How do I access these data usning MySql Query browser and MySql Administrator tool?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
首先请允许我说,我不是 Windows 管理员,因此权限问题超出了我的专业知识。
# set your data directory
datadir = c:\path\to\new\datadir
#以防万一
skip-slave-start
# 可选
skip-networking
# 如果这是紧急情况并且您需要完成密码恢复
skip-grant-tables
重新启动 MySQL 并观察错误日志的输出。它应该会启动,您只需以“root”身份登录(无需密码)即可执行备份数据所需的操作。
Please let me preface this by saying, I'm not a Windows administrator, so permissions issues are outside my expertise.
# set your data directory
datadir = c:\path\to\new\datadir
# just in case
skip-slave-start
# optional
skip-networking
# if this is an emergency and you need to go through password recovery
skip-grant-tables
Restart MySQL and watch your error log for output. It should start up and you can simply sign in as 'root' with no password and do what you need to do to backup your data.