>From the log:
mysql_upgrade: Got error: 1045: Access denied for user 
'debian-sys-maint'@'localhost' (using password: YES) while connecting to the 
MySQL server

On upgrades the database schema needs to be upgraded as well, for that it will 
connect to the server and do the upgrades. Usually it uses local access as root 
or fallback to the user denied here. Both usually work without being an attack 
vector.
Never the less it seems that part of your local configuration locks these ways 
to access out and thereby the update fails.

I'd ask you to modify your configuration in a way to get the upgrade
succeeding. If you want you can revert those changes right after the
upgrade.

If you think those changes are a common setup please outline them here so they 
can be considered.
There currently is a major rework of the upgrade handling and it might be 
interesting to be considered there.

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

Title:
  package mysql-server-5.7 5.7.18-0ubuntu0.16.04.1 failed to
  install/upgrade: subprocess installed post-installation script
  returned error exit status 1

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

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

Reply via email to