The old debian-start script used by upstart runs mysql_upgrade, checks
for crashed tables and checks for passwordless root accounts (printing a
warning if one is found).

In 5.7, d/postinst will secure passwordless root accounts with unix
socket auth and run mysql_upgrade, and mysql_upgrade itself will check
for and fix any crashed tables, so this script is no longer needed.

Additionally this could cause mysql_upgrade to be executed by both
upstart and postinst on upgrades, causing various errors.

The solution is to change the script in 5.7 to a no-op

** Changed in: mysql-5.7 (Ubuntu)
       Status: Triaged => In Progress

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

Title:
  mysql_upgrade is called twice concurrently on upgrade from 14.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mysql-5.7/+bug/1577712/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to