Hi Hiren,

>From the logs, it looks like it can't find the database files:

Specified filename /var/lib/mysql/ibdata1 does not exist.
Checking if update is needed.
Checking server version.
Error occurred: Query against mysql.user table failed when checking the 
mysql.session.


Have you put the db files in a custom location?

There are other tables that it can't find as well:

2018-12-17T05:07:44.711665Z 0 [ERROR] Can't open and lock privilege tables: 
Table 'mysql.servers' doesn't exist
2018-12-17T05:07:44.711767Z 0 [ERROR] Native table 
'performance_schema'.'cond_instances' has the wrong structure
2018-12-17T05:07:44.711799Z 0 [ERROR] Native table 
'performance_schema'.'events_waits_current' has the wrong structure
2018-12-17T05:07:44.711829Z 0 [ERROR] Native table 
'performance_schema'.'events_waits_history' has the wrong structure
2018-12-17T05:07:44.711861Z 0 [ERROR] Native table 
'performance_schema'.'events_waits_history_long' has the wrong structure
2018-12-17T05:07:44.711897Z 0 [ERROR] Native table 
'performance_schema'.'events_waits_summary_by_host_by_event_name' has the wrong 
structure

Please check your configuration and database files to make sure they're
as mysql expects them to be. If this still looks like a bug rather than
a configuration issue, please give more info and change the status back
to "new".


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

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

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

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

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

Reply via email to