Turns out that when dpkg configures the package, it tries to run
mysql_upgrade with the root user and no password, which is insane to do
to a database.

I propose that the dpkg prompts the user for a username and then runs:
     mysql_upgrade -u $user -p
and then the user is asked for a password.

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

Title:
  package mysql-server-5.7  not installed  failed to install/upgrade:
  subprocess installed post-installation script returned error exit
  status 11

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

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

Reply via email to