Can't start mysql

Bug #1654994 reported by Freyr Gunnar Ólafsson
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mysql-5.6 (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

When I run mysql_upgrade I get this error:
mysql_upgrade: [ERROR] unknown variable 'database=mysql'

mysql-server version 5.7.16-0ubuntu0.16.04.1

Description: Ubuntu 16.04.1 LTS
Release: 16.04

I have this variable in my /root/.my.cnf file.

Revision history for this message
Freyr Gunnar Ólafsson (gnarlin) wrote :

I purge all mysql packages and deleted /var/lib/mysql* and then reinstall.
Works now.

Revision history for this message
Joshua Powers (powersj) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better.

Between the upgrade from 5.6 to 5.7 there may have been configuration variables that changed names or options. However, since there isn't enough information in your report to differentiate between a local configuration problem and a bug in Ubuntu, I'm marking this bug as Incomplete.

If indeed this is a local configuration problem, you can find pointers to get help for this sort of problem here: http://www.ubuntu.com/support/community

Or if you believe that this is really a bug, then you may find it helpful to read "How to report bugs effectively" http://www.chiark.greenend.org.uk/~sgtatham/bugs.html. We'd be grateful if you would then provide a more complete description of the problem, explain why you believe this is a bug in Ubuntu rather than a problem specific to your system, and then change the bug status back to New.

Changed in mysql-5.6 (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for mysql-5.6 (Ubuntu) because there has been no activity for 60 days.]

Changed in mysql-5.6 (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.