When I was upgrading from 14.10 to 15.04 my mysql somehow broke.
When I run
sudo dpkg --configure -a
After a long wait I get the following response
Setting up mysql-server-5.6 (5.6.24-0ubuntu2) ...
Job for mysql.service failed. See "systemctl status mysql.service" and "journalctl -xe" for details.
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
dpkg: dependency problems prevent configuration of mysql-server:
mysql-server depends on mysql-server-5.6; however:
Package mysql-server-5.6 is not configured yet.
dpkg: error processing package mysql-server (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
mysql-server-5.6
mysql-server
can anyone tell me how to resolve this issue?
Many thanks.
Ok so after much help from @kos and google I have managed to get it sorted.
The steps that seemed to work were as follows.
Then I ran
And ticked the lamp option. For some reason this angle worked. Though I cannot tell you why.
One way would be to remove
MySQL
and re-install it:If you want you can backup everything first: