fatal error:can't open and lock privilege tables:table 'mysql.host' doesn't exis
fatal error:can't open and lock privilege tables:table 'mysql.host' doesn't exist报错原因:一般为mysql重新安装后数据目录不一致造成的
解决办法:
# /usr/local/mysql/bin/mysql_install_db --user=mysql --datadir=/usr/local/mysql/data/
指定一下mysql数据库所在位置就行了
页:
[1]