【问题标题】:Mysql stops working in my ubuntu machine 13.04Mysql 停止在我的 ubuntu 机器 13.04 中工作
【发布时间】:2014-06-17 22:44:56
【问题描述】:

我正面临这个奇怪的问题。突然 mysql 停止工作,我在 /var/log/mysql/error.log

中收到错误日志

**

140501 17:21:09 [Note] Plugin 'FEDERATED' is disabled.
140501 17:21:09 InnoDB: The InnoDB memory heap is disabled
140501 17:21:09 InnoDB: Mutexes and rw_locks use GCC atomic builtins
140501 17:21:09 InnoDB: Compressed tables use zlib 1.2.3.4
140501 17:21:10 InnoDB: Initializing buffer pool, size = 128.0M
140501 17:21:10 InnoDB: Completed initialization of buffer pool
140501 17:21:10 InnoDB: highest supported file format is Barracuda.
InnoDB: No valid checkpoint found.
InnoDB: If this error appears when you are creating an InnoDB database,
InnoDB: the problem may be that during an earlier attempt you managed
InnoDB: to create the InnoDB data files, but log file creation failed.
InnoDB: If that is the case, please refer to
InnoDB: http://dev.mysql.com/doc/refman/5.5/en/error-creating-innodb.html
140501 17:21:10 [ERROR] Plugin 'InnoDB' init function returned error.
140501 17:21:10 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
140501 17:21:10 [ERROR] Unknown/unsupported storage engine: InnoDB
140501 17:21:10 [ERROR] Aborting

140501 17:21:10 [Note] /usr/sbin/mysqld: Shutdown complete

**

这是一个非常棘手的问题,因为我可以在没有 myqsl 连接的情况下编写单个代码。如何解决这个问题。

PS:抱歉 Ubuntu 伙计们,因为我使用的是 13.04 不受支持的版本,我已经安装了 14.04,并且会在几天内迁移到它。

【问题讨论】:

    标签: mysql ubuntu innodb mysql-error-2002


    【解决方案1】:

    在我在stackoverflow和其他mysql相关网站上找到了很多建议后,我没有成功解决这个问题。然后我重新配置了我的 mysql 安装,瞧它现在可以工作了。

    我使用的命令是

    sudo dpkg-reconfigure mysql-server-5.5
    

    【讨论】:

      猜你喜欢
      • 2017-11-11
      • 2017-05-21
      • 1970-01-01
      • 1970-01-01
      • 2013-04-26
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2011-02-03
      相关资源
      最近更新 更多