[Bug 1822516] Re: package mysql-server-5.7 5.7.25

Andreas Hasenack andreas at canonical.com
Wed Apr 3 13:10:48 UTC 2019

Thanks for taking the time to file this bug in Ubuntu.

The attached logs are full of errors that seem to indicate this
installation is quite broken I'm afraid:

Setting up plank (0.11.4-4) ...
Setting up mysql-server-5.7 (5.7.25-0ubuntu0.18.10.2) ...
Error occurred: Cannot select database.
mysql_upgrade failed with exit status 1

And in the mysql logs themselves:
2019-03-30T06:10:05.150581Z 0 [Warning] Can't open and lock time zone table: Table 'mysql.time_zone_leap_second' doesn't exist trying to live without them
2019-03-30T06:10:05.150726Z 0 [ERROR] Can't open and lock privilege tables: Table 'mysql.servers' doesn't exist
2019-03-30T06:10:05.150921Z 0 [ERROR] Native table 'performance_schema'.'cond_instances' has the wrong structure
2019-03-30T06:10:05.150977Z 0 [ERROR] Native table 'performance_schema'.'events_waits_current' has the wrong structure
2019-03-30T06:10:05.151022Z 0 [ERROR] Native table 'performance_schema'.'events_waits_history' has the wrong structure

and so on.

I see this in the dpkg log:
mysql-server-5.7:amd64 (5.7.25-0ubuntu0.18.04.2, 5.7.25-0ubuntu0.18.10.2)

Were you dist-upgrading from bionic to cosmic using just apt, instead of
using the do-release-upgrade tool?

** Changed in: mysql-5.7 (Ubuntu)
       Status: New => Incomplete

You received this bug notification because you are a member of Ubuntu
Server, which is subscribed to mysql-5.7 in Ubuntu.
Matching subscriptions: main

  package mysql-server-5.7 5.7.25

To manage notifications about this bug go to:

More information about the Ubuntu-server-bugs mailing list