上网搜索了这个错误的常见原因都为能解决,后来在
在/etc/my.cnf 中加入
[mysqld_safe]
log-error=/var/log/mysqld.log
查看mysqld.log 发现
InnoDB: Check that you do not already have another mysqld process
InnoDB: using the same InnoDB data or log files.
InnoDB: Unable to lock ./ibdata1, error: 11
1.ps -ef|grep mysql
2.kill -9 3213
3.尝试再次启动,并通过ps -ef|grep mysql命令查看进程状态