mysql 5.6 install_Ubuntu 14.04 install Mysql 5.6

remove all mysql

$ sudo apt-get autoremove –purge mysql*

$ sudo rm -rf /var/lib/mysql/

$ sudo rm -rf /etc/mysql/

install mysql

$ sudo apt-get update

$ sudo apt-get build-dep mysql-server-5.6

$ sudo apt-get install mysql-server-5.6

Normally Error:

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)

Solutions:

The problem you are having looks the same as this bug report. The failure to start seems to be because the default MySQL 5.6 configuration requires more memory than it can get in your micro instance.

The solution to the error appears to be to do one of the following:

Increase the amount of memory in your EC2 instance

Set a smaller value for MySQL’s max_connections variable

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值