启动 mysql 服务的时候报如下错误:
Fatal error: Can't open and lock privilege tables: Table 'mysql.host' doesn't exist
解决方法:
mysql_install_db --user=mysql 初始化数据库即可
启动 mysql 服务的时候报如下错误:
Fatal error: Can't open and lock privilege tables: Table 'mysql.host' doesn't exist
解决方法:
mysql_install_db --user=mysql 初始化数据库即可
转载于:https://www.cnblogs.com/xiayong123/archive/2012/12/19/3717037.html