Fatal error: Can't open and lock privilege tables: Table 'mysql.host' doesn't exist的解决方法

Fatal error: Can't open and lock privilege tables: Table 'mysql.host' doesn't exist的解决方法  

2012-05-22 21:03:08|  分类: mysql 的问题|字号 订阅

启动 mysql 服务的时候报如下错误:

Fatal error: Can't open and lock privilege tables: Table 'mysql.host' doesn't exist

解决方法:

mysql_install_db --user=mysql  初始化数据库即可

posted @ 2012-12-19 19:37  Lunaa  阅读(314)  评论(0编辑  收藏  举报