mysql 5.6 Ubuntu 14.04 - unable to start service

August 29, 2015 18.2k views


I’m trying to get mysql 5.6 on a Ubuntu 14.04. I did start from scratch with a new droplet, apt-get update, apt-get upgrade. Then doing:

apt-get install mysql-server-5.6

I got:

2015-08-29 08:47:16 0 [Warning] Using unique option prefix key_buffer instead of key_buffer_size is deprecated and will be removed in a future release. Please use the full name instead.
2015-08-29 08:47:16 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
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
Processing triggers for ureadahead (0.100.0-16) …
E: Sub-process /usr/bin/dpkg returned an error code (1)

Trying to start the service manually end-up with:

root@mydroplet:/var/log# service mysql start
start: Job failed to start

Nothing in syslog, nothing in the mysql log. Did try with a apt-get purge but got the same result.

Any idea?


2 Answers


You should check /var/log/mysql/error.log and /var/log/syslog for more specific errors happening when you try to start MySQL.

Have another answer? Share your knowledge.