>From the log:
Setting up mysql-server-5.7 (5.7.17-0ubuntu0.16.04.1) ...
mysql_upgrade: Got error: 1045: Access denied for user
'debian-sys-maint'@'localhost' (using password: YES) while connecting to the
MySQL server
Upgrade process encountered error and will not continue.
mysql_upgrade failed with exit status 11
dpkg: error processing package mysql-server-5.7 (--configure):
That matched the mysql error log:
2017-01-28T18:48:37.511488Z 0 [Note] /usr/sbin/mysqld: ready for connections.
Version: '5.7.17-0ubuntu0.16.04.1' socket: '/var/run/mysqld/mysqld.sock'
port: 3306 (Ubuntu)
2017-01-28T18:48:38.201169Z 3 [Note] Access denied for user 'root'@'localhost'
(using password: NO)
2017-01-28T18:48:38.204196Z 4 [Note] Access denied for user
'debian-sys-maint'@'localhost' (using password: YES)
It needs to perform some actions on upgrade.
IIRC it uses the root socket (or prompts you) to create a temp access and uses
that for the upgrades.
Was any modifications to the user setup done that might cause this?
** Changed in: mysql-5.7 (Ubuntu)
Status: Confirmed => Incomplete
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1660065
Title:
package mysql-server-5.7 5.7.17-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/1660065/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs