我在新机器上新装了mysql5.6.
一直启动不了,报这样的错误ERROR! The server quit without updating PID file (/usr/local/mysql/data/VM_0_12_centos.pid)。
然后我手动新建了一个VM_0_12_centos.pid。但是启动的时候,他会把它删除掉,然后接着报 ERROR! The server quit without updating PID file (/usr/local/mysql/data/VM_0_12_centos.pid)。
我尝试着让我新建的pid无法删除,然后他会报这样一个错误
rm: cannot remove '/usr/local/mysql/data/pid/mysql.pid': Operation not permitted
180312 14:24:29 mysqld_safe Fatal error: Can't remove the pid file:
/usr/local/mysql/data/pid/mysql.pid
Please remove it manually and start /usr/local/mysql/bin/mysqld_safe again;
mysqld daemon not started
我的mysqld
我试着百度了一下,网上的方法都不管用,。emm,不想重装