My Oracle Support Banner

How to correct problems with mysql.user when downgrading from 5.7 to 5.6 (Doc ID 2132670.1)

Last updated on MARCH 25, 2019

Applies to:

MySQL Server - Version 5.6 to 5.6 [Release 5.6]
Information in this document applies to any platform.
When following the directions for a logical downgrade from 5.7 to 5.6 in http://dev.mysql.com/doc/refman/5.7/en/downgrading.html, mysql_upgrade will fail with an error like this:

Running 'mysql_fix_privilege_tables'...
ERROR 1105 (HY000) at line 1895: Unknown error
FATAL ERROR: Upgrade failed

The solution provided is for Linux systems, but the same concepts apply for other operating systems.

To solve this problem, it is necessary to replace the mysql.user table restored from a dump of the 5.7 server with a fresh 5.6 mysql.user table.

See documentation Bug 23205373 more info

Goal

 Get MySQL 5.6 running after restoring 5.7 dump of all schemas

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.