mysql start The server quit without updating PID fil[FAILED]

2017-02-17 13:11:00
村里来的扫地僧
原创
1409
启动mysql数据库提示:
[root@node3 mysql-5.6.13]# /etc/init.d/mysql start
Starting MySQL.....The server quit without updating PID fil[FAILED]01/mysql/node3.pid).
[root@node3 mysql-5.6.13]# /etc/init.d/mysql restart

 检查是否已存在启动进程:


[root@node3 mysql-5.6.13]# ps aux |grep mysql
root      1486  0.0  0.0 108332   928 ?        S    Aug15   0:00 /bin/sh /usr/local/mysql/bin/mysqld_safe --datadir=/data01/mysql --pid-file=/var/run/mysqld/mysqld.pid
mysql     1866  0.0  4.7 1422764 48500 ?       Sl   Aug15   0:48 /usr/local/mysql/bin/mysqld --basedir=/usr/local/mysql --datadir=/data01/mysql --plugin-dir=/usr/local/mysql/lib/plugin --user=mysql --log-error=/var/log/mysql/mysqld.log --pid-file=/var/run/mysqld/mysqld.pid --socket=/data01/mysql/mysql.sock
root     27112  0.0  0.0 105312   848 pts/2    S+   15:25   0:00 grep mysql
  结束相应的PID再重新启动:



[root@node3 mysql-5.6.13]# /etc/init.d/mysql start
Starting MySQL.                                            [  OK  ]
  启动成功


发表评论
贰 加 玖 =
评论通过审核后显示。