出于好奇,我想看看Ubuntu 14.04上的MySQL 5.6。根据本文,安装过程看起来应该很简单直接。因此,我启动了运行Ubuntu 14.04(64位)的AWS EC2微服务器,登录到我的原始实例(通过PuTTY),并发出了以下命令:
$ sudo apt-get update
$ sudo apt-get build-dep mysql-server-5.6
$ sudo apt-get install mysql-server-5.6
(前两个命令是绝望的举动,因为apt-get install
以前仅运行一个命令是行不通的。但是即使使用了这三个命令,安装步骤仍然无法执行。)
根据以上引用的文章,在我期望的那一点上,将从最终命令中看到以下输出:
mysql start/running, process 2355
Setting up libhtml-template-perl (2.95-1) ...
Setting up mysql-common-5.6 (5.6.16-1~exp1) ...
Processing triggers for libc-bin (2.19-0ubuntu6) ...
Processing triggers for ureadahead (0.100.0-16) ...
我得到了这个:
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 libhtml-template-perl (2.95-1) ...
Setting up mysql-common-5.6 (5.6.16-1~exp1) ...
Processing triggers for libc-bin (2.19-0ubuntu6) ...
Processing triggers for ureadahead (0.100.0-16) ...
Errors were encountered while processing:
mysql-server-5.6
E: Sub-process /usr/bin/dpkg returned an error code (1)
谁能看到哪里出了问题?