【发布时间】:2015-09-23 04:54:38
【问题描述】:
我正在尝试在 Ubuntu 14.04 上从 Mysql 5.5 升级到 Mysql 5.6
我试过了:
- 直接使用 sudo apt-get install mysql-server-5.6 安装 - 不成功
- 首先完全删除 Mysql 5.5,根据此线程:Removing MySQL 5.5 Completely 然后使用 sudo apt-get install mysql-server-5.6 安装 - 不成功
- 创建 4g 交换,如下所述:https://askubuntu.com/questions/457923/why-did-installation-of-mysql-5-6-on-ubuntu-14-04-fail - 不成功
这些选项都不起作用..我得到的错误是:
2015-07-06 02:32:33 12412 [Note] Plugin 'FEDERATED' is disabled.
2015-07-06 02:32:33 12412 [Note] InnoDB: Using atomics to ref count buffer pool pages
2015-07-06 02:32:33 12412 [Note] InnoDB: The InnoDB memory heap is disabled
2015-07-06 02:32:33 12412 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2015-07-06 02:32:33 12412 [Note] InnoDB: Compressed tables use zlib 1.2.8
2015-07-06 02:32:33 12412 [Note] InnoDB: Using Linux native AIO
2015-07-06 02:32:33 12412 [Note] InnoDB: Not using CPU crc32 instructions
2015-07-06 02:32:33 12412 [Note] InnoDB: Initializing buffer pool, size = 128.0M
2015-07-06 02:32:33 12412 [Note] InnoDB: Completed initialization of buffer pool
2015-07-06 02:32:33 12412 [Note] InnoDB: Highest supported file format is Barracuda.
2015-07-06 02:32:33 12412 [Note] InnoDB: 128 rollback segment(s) are active.
2015-07-06 02:32:33 12412 [Note] InnoDB: Waiting for purge to start
2015-07-06 02:32:33 12412 [Note] InnoDB: 5.6.19 started; log sequence number 1626183
2015-07-06 02:32:33 12412 [Note] Binlog end
2015-07-06 02:32:33 12412 [Note] InnoDB: FTS optimize thread exiting.
2015-07-06 02:32:33 12412 [Note] InnoDB: Starting shutdown...
2015-07-06 02:32:35 12412 [Note] InnoDB: Shutdown completed; log sequence number 1626193
start: Job failed to start
invoke-rc.d: initscript mysql, action "start" failed.
dpkg: error processing package mysql-server-5.6 (--configure):
subprocess installed post-installation script returned error exit status 1
Setting up mysql-common-5.6 (5.6.19-0ubuntu0.14.04.1) ...
我无法设置,真的很沮丧
在Digital Ocean VPS上运行,请各位高手赐教:(
【问题讨论】:
-
能否提供错误日志(即来自/var/log/mysql/error.log)?
-
日志文件显示与上面相同的消息(关闭完成......)
标签: php mysql linux ubuntu apt