执行命令启动mysql服务无法启动mysql服务器。
[root@localhost]# service mysqld restart Stopping mysqld: [ OK ] MySQL Daemon failed to start. Starting mysqld: [FAILED]
对它进行了一番调查
我有MySQL的MySQL服务器的PHP PHP的MySQL的所有从最新的Centos可用版本的remi
这是我的my.cnf文件
[mysqld] datadir=/var/lib/mysql socket=/var/lib/mysql/mysql.sock user=mysql # Default to using old password format for compatibility with mysql 3.x # clients (those using the mysqlclient10 compatibility package). old_passwords=1 # Disabling symbolic-links is recommended to prevent assorted security risks; # to do so, uncomment this line: # symbolic-links=0 [mysqld_safe] log-error=/var/log/mysqld.log pid-file=/var/run/mysqld/mysqld.pid
我认为这个strace现在被联系在一个评论
这里是mysql_safe的转储
[root@localhost var]# mysqld_safe 110209 15:11:47 mysqld_safe Logging to '/var/log/mysqld.log'. 110209 15:11:47 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql 110209 15:11:52 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended
你有没有试图从根控制台启动mysqld_safe来检查其输出?
/var/log/mysqld.log有什么要说的?