How to correct problems with mysql.user when downgrading from 5.7 to 5.6
Last updated on MARCH 26, 2017
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:
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
Get MySQL 5.6 running after restoring 5.7 dump of all schemas
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
Million Knowledge Articles and hundreds of Community platforms