将MySQL从版本5.5升级到版本5.6.10后,启动MySQL服务器时出现以下错误:
2013-03-19 05:32:38 2666 [Note] /usr/sbin/mysqld: ready for connections. Version: '5.6.10' socket: '/var/lib/mysql/mysql.sock' port: 3306 MySQL Community Server (GPL) 2013-03-19 05:43:27 2666 [ERROR] Incorrect definition of table mysql.proc: expected column 'comment' at position 15 to have type text, found type char(64).
我检出了mysql.proc表,注释字段被设置为TEXT。 升级后我运行了mysql_upgrade。 我试着在看到那个错误之后再次运行它,但是没有修复它。
这个问题在stackoverflow链接到一个错误报告,提到:
"start the server with the --skip-grant-tables option to cause it to skip the normal grant table checks, then run mysql_upgrade. ... Then stop the server and restart it normally."
错误报告的参考URL是: http : //dev.mysql.com/doc/refman/5.5/en/news-5-5-7.html