我想为我遇到的问题寻求帮助。安装 php-soap 后,我的 mysql 服务器突然停止。我不知道为什么它实际上停止了......
由于它已停止,我尝试通过键入以下行来启动它:
# /etc/init.d/mysqld start
在此之后,我收到此消息:
MySQL Daemon failed to start.
Starting mysqld: [FAILED]
启动mysql似乎失败了。因为我尝试了很多次并且多次得到这个结果。我检查了mysqlog,这就是我得到的。
==== MYSQL 日志 ====
120511 21:34:43 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
120511 21:34:43 [ERROR] Error message file '/usr/share/mysql/english/errmsg.sys' had only 481 error messages,
but it should contain at least 641 error messages.
Check that the above file is the right version for this program!
/usr/libexec/mysqld: Unknown error 1146
120511 21:34:43 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it.
120511 21:34:43 InnoDB: Initializing buffer pool, size = 8.0M
120511 21:34:44 InnoDB: Completed initialization of buffer pool
120511 21:34:44 InnoDB: Operating system error number 13 in a file operation.
InnoDB: The error means mysqld does not have the access rights to
InnoDB: the directory.
InnoDB: File name ./ibdata1
InnoDB: File operation call: 'open'.
InnoDB: Cannot continue operation.
120511 21:34:44 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended
其他信息:
操作系统:CentOS 5.5 64bit
Mysql 版本:抱歉,由于出现此错误,我无法在服务器上安装 mysql 版本:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
有人可以帮我解决这个问题吗?
提前谢谢你。