Fatal error: Can't open and lock privilege tables: Table 'mysql.host' doesn't exist的解决方法
启动 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 初始化数据库即可