[[email protected] data]# /etc/init.d/mysqld start
Starting MySQL... ERROR! The server quit without updating PID file (/usr/local/mysql/data/uz6542.pid).
解决方法:初始化mysql
/usr/local/mysql/scripts/mysql_install_db --user=mysql --datadir=/usr/local/mysql/data --basedir=/usr/local/mysql
还是报错,经查发现my.cnf配置slow日志查询文件处发生错误,修改后启动正常。
时间: 2024-10-12 17:24:46