I got following error while installing updates on ubuntu 16.04
mysql_upgrade: Got error: 2002: Can't connect to local MySQL server through
socket '/var/run/mysqld/mysqld.sock' (2) while connecting to the MySQL server
Upgrade process encountered error and will not continue.
mysql_upgrade failed with exit status 11
dpkg: error processing package mysql-server-5.7 (--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.7; however:
Package mysql-server-5.7 is not configured yet.
dpkg: error processing package mysql-server (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup
error from a previous failure.
Errors were encountered while processing:
E: Sub-process /usr/bin/dpkg returned an error code (1)
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
mysqld fails to start after upgrade: performance_schema definition
To manage notifications about this bug go to:
ubuntu-bugs mailing list