question 1
Can't open and lock privilege tables: Table 'mysql.host' doesn't exist
solution
start the mysql first time, should run the command mysql_install_db, after that run the command mysqld_safe
本文介绍了一种常见的情况:尝试启动MySQL时遇到'Can't open and lock privilege tables: Table 'mysql.host' doesn't exist'错误。解决方案包括首次运行mysql_install_db命令来初始化数据库系统,之后再使用mysqld_safe命令确保服务正确启动。
question 1
Can't open and lock privilege tables: Table 'mysql.host' doesn't exist
solution
start the mysql first time, should run the command mysql_install_db, after that run the command mysqld_safe

被折叠的 条评论
为什么被折叠?