*** This bug is a duplicate of bug 1592669 ***
https://bugs.launchpad.net/bugs/1592669
I had a similar problem to this. All updates and installs via apt-get
were blocked because mysql failed to upgrade, with similar error
messages as above.
In my case the problem turned out to be due to the fact that I had
removed /etc/rc5.d/S03mysql in order to prevent mysql from starting at
runtime. Recreating the symlink was the only way I found to allow the
update to succeed.
IMO the script ought to check if this symlink exists and if not create
it temporarily, or better still use a method which does not depend on
rc.d.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1658067
Title:
on-upgrade 2002: Can't connect to local MySQL server through socket
'/var/run/mysqld/mysqld.sock'
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mysql-5.7/+bug/1658067/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs