I found that when it tried to install mysql-5.7 -
5.7.13-0ubuntu0.16.04.2, dpkg just hung forever at postinst (in this
case, forever means overnight). The only way around this was to kill -9
the two mysqld processes that ran (I think one was already running, and
then another ran when I killed the first).

Then I upgraded to yakkety and it installed mysql-
server-5.7_5.7.13-0ubuntu4_amd64.deb and I had exactly the same problem.
Killing the mysqld processes as before allowed dpkg to continue.

I found some other issues too when I tried reinstalling from scratch -
/etc/mysql/my.cnf has the line "!includedir /etc/mysql/conf.d/", but
/etc/mysql/conf.d no longer exists if you have purged mysql before
reinstalling, so the server won't start up and configuration therefore
fails. I had to comment the line out manually to get it to work.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1571865

Title:
  mysql fails to start after upgrade if previous defaults were
  customised

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-release-notes/+bug/1571865/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to