【发布时间】:2014-05-30 08:35:17
【问题描述】:
今天我在我的电脑上安装了一个新版本的 wamp 服务器(在旧版本之上)。启动 wampserver 后,右下角的图标保持橙色。我发现Mysql没有启动op。 Mysql 日志文件显示如下错误:
[ERROR] Native table 'performance_schema'.'setup_instruments' has the wrong structure
[ERROR] Native table 'performance_schema'.'setup_timers' has the wrong structure
[ERROR] Native table 'performance_schema'.'performance_timers' has the wrong structure
在网上搜索后发现我可能要运行mysql_upgrade
我在这个文件夹 C:\wamp\bin\mysql\mysql5.5.8\bin 中打开 mysql.exe 文件(使用管理员) 但是当我使用以下语法运行升级时: shell> mysql_upgrade;它返回一条消息,指出我的 sql 语法有错误。 (我在所有服务都打开和所有服务关闭的情况下尝试过)有谁知道我该如何解决这个问题?或者也许还有其他方法可以让 Mysql 运行。
提前致谢。
亲切的问候,莉丝贝丝
【问题讨论】:
-
实际上听起来还有更多。如果安装正确完成,mysql 应该查看其数据库的新
\wamp\bin\mysql\mysql5.5.8\data文件夹,并且 performance_scheme 应该是正确的。您是否将 ALL 旧数据库复制到新的 mysql 版本文件夹?
标签: mysql sql wamp wampserver