我的MySQL服务没有启动。 我在我的VPS中使用debian wheezy作为操作系统。 我使用MyISAM来存储表格。
启动服务时的响应
root@ipxweb1:~# service mysql start [FAIL] Starting MySQL database server: mysqld . . . . . . . . . . . . . . failed!
当我使用mysqld命令时,出现以下错误。
root@ipxweb1:~# mysqld 120811 22:06:39 [Warning] option 'thread_stack': unsigned value 65536 adjusted to 131072 120811 22:06:39 [Warning] ignore-builtin-innodb is deprecated and will be removed in future releases. 120811 22:06:39 [Note] Plugin 'FEDERATED' is disabled. 120811 22:06:39 [Note] Server hostname (bind-address): '(null)'; port: 3306 120811 22:06:39 [Note] - '(null)' resolves to '0.0.0.0'; 120811 22:06:39 [Note] - '(null)' resolves to '::'; 120811 22:06:39 [Note] Server socket created on IP: '0.0.0.0'. 120811 22:06:40 [ERROR] Fatal error: Can't open and lock privilege tables: Got error 5 from storage engine
编辑:
我正在运行一个负载平衡的服务器,使用glusterfs进行复制。 / var / lib / mysql目录在2台服务器上复制。 MySQL在第二台服务器上启动完美。 它在第一台服务器上工作正常。 一个美好的早晨,没有我的介入,就发生了。
$ perror 5 OS error code 5: Input/output error
时间检查您的磁盘….
由于它是(最有可能租用的)VPS,所以你不能真正检查服务器的磁盘。 您可能不得不要求托pipe服务提供商研究它。