移动数据后无法运行mysql(致命错误:无法打开和锁定权限表:表“mysql.host”不存在)

发布于 2024-12-25 18:26:15 字数 616 浏览 2 评论 0原文

我从这个 主题来到这里

用户遇到完全相同的问题。

我已经安装了Winamp(Apache+Mysql)。我将 /data 子文件夹(备份)移动到 mysql/data (已安装文件夹)。我最初有错误说我的端口正在使用中,所以我更改为3307。此错误的原因可能是mysqld-nt冻结(未关闭,保留在内存中)

  • 端口是3307
  • 数据文件夹在my.ini中设置正确
  • 客户端运行导致关闭,因为 mysql-nt 不运行
  • mysqld-nt 冻结控制台。
  • 无法运行控制台
  • mysqld-nt 已关闭(手动)

我是 Windows 用户。我的Mysql是Wamp服务器的一部分,没有任何mysql_install_db 在 bin 文件夹中。我不使用linux,所以无法使用linux命令。另外,我无法运行客户端,因为服务器连接未建立,因此无法为客户端键入命令。

请帮忙。

I come here from this topic

Where user has exactly the same problem.

I have installed Winamp (Apache+Mysql). I moved my /data subfolders (backup) to mysql/data (installed folder). I originally had error that my port is in use, so I changed to 3307. The cause for this error could be freeze of mysqld-nt (not closed, stayed in memory)

  • port is 3307
  • data folder is in my.ini is set correctly
  • client run results in close because mysql-nt doesnt run
  • mysqld-nt Freezes console.
  • cannot run console
  • mysqld-nt is closed (manually)

I am Windows user. My Mysql is part of Wamp server and has no any mysql_install_db
in bin folder. I don't use linux so I cannot use linux commands. Also I cannot run client bevazse server connection is not established so cannot type the command for client.

Please help.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

怼怹恏 2025-01-01 18:26:15

端口 3306 正在使用的事实可能表明您的旧 Mysql 服务器进程仍在运行并占用该端口。
因为是windows,所以可能需要重启。

您的数据备份可能已损坏,或未正确复制。

The fact that port 3306 is in use could be a clue that your old Mysql server process is still running and hogging the port.
Because it's windows, you may have to reboot.

Your data backup might have been corrupted, or not copied over correctly.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文