I ran into this problem when I fired up an AWS EC2 micro instance (which
provides 512MB) with trusty and, on my brand spanking new server, tried
to run sudo apt-get install mysql-server-5.6. I tried Arnaud's
suggestion on another brand spanking new micro trusty server, but no
luck. However, when I
Thanks, Arnaud, squishing down max_connections before attempting to
install did the trick! I took the conf.d route and put a .cnf file in
/etc/mysql/conf.d that contained two lines:
[mysqld]
max_connections = 20
Installing MySQL was the first thing I did on the first login to a new
EC2 micro inst