How to correct problems with mysql.user when downgrading from 5.7 to 5.6
(Doc ID 2132670.1)
Last updated on AUGUST 17, 2021
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
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