*** This bug is a duplicate of bug 1592669 ***
https://bugs.launchpad.net/bugs/1592669
Currently, d/postinst will try to start the service in order to run
mysql_upgrade (which functions as a client, requiring a running server).
I think this is covered by LP: #1592669
** This bug has been
I encountered this problem on upgrade from 15.10 to 16.04. However, in
my case I had the mysql.service disabled. After enabling the service
(even with it stopped) the mysql_upgrade process ran correctly. I'm not
sure why the service isn't started, being disabled shouldn't make a
difference.
I
I have the same problem.
After some testing I think that mysql_upgrade is stopping the service and
trying to connect to it.
tango@sn-c-c46:~$ sudo systemctl status mysql
● mysql.service - MySQL Community Server
Loaded: loaded (/lib/systemd/system/mysql.service; enabled; vendor preset:
After pasting the contents of it, please set this bug status back to
"confirmed".
** Changed in: mysql-5.7 (Ubuntu)
Importance: Undecided => High
** Changed in: mysql-5.7 (Ubuntu)
Status: Confirmed => Incomplete
--
You received this bug notification because you are a member of Ubuntu
I couldn't spot anything in the log files that would explain the issue,
which seems to be that either the server isn't running, or it's not
writing a socket file to the default location.
The /etc/init/mysql.conf file is marked as modified. Could you paste the
contents of it?
--
You received
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: mysql-5.7 (Ubuntu)
Status: New => Confirmed
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1584287
Title: