启动mysql报错:ERROR! The server quit without updating
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了启动mysql报错:ERROR! The server quit without updating相关的知识,希望对你有一定的参考价值。
启动mysql报错:ERROR! The server quit without updating PID file (/data/mysql/localhost.localdomain.pid),查看mysql.log发现报错信息:
[ERROR] Fatal error: Can‘t open and lock privilege tables: Table ‘mysql.host‘ doesn‘t exist
解决方案:
scripts/mysql_install_db --user=mysql --datadir=/data/mysql
之前写成:scripts/mysql_install_db --user=mysql --datadir=/data/mysql basedir=/usr/local/mysql
需要去掉basedir=/usr/local/mysql才行
另外需要再/etc/my.cnf 加上datadir=/data/mysql
以上是关于启动mysql报错:ERROR! The server quit without updating的主要内容,如果未能解决你的问题,请参考以下文章
报错:An error occurred at line: 22 in the generated java file The method getJspApplicationContext(Serv
MySQL 启动日志报错:Starting MySQL. ERROR! The server quit without updating PID file
启动mysql报错 -- ERROR! The server quit without updating PID file
mysql启动报错:Starting MySQL... ERROR! The server quit without updating PID file
Linux中修改mysql端口之后启动报错 ERROR! The server quit without updating PID file
mysql修改后启动my.cnf报错Starting MySQL... ERROR! The server quit without updating PID file (/var/lib/mysql