Bug #77997 Automatic mysql_upgrade
Submitted: 9 Aug 2015 14:42 Modified: 11 Aug 2015 9:18
Reporter: Daniël van Eeden (OCA) Email Updates:
Status: Verified Impact on me:
None 
Category:MySQL Server: Installing Severity:S4 (Feature request)
Version:8.0 OS:Any
Assigned to: CPU Architecture:Any
Tags: automatic, mysql_upgrade, upgrade

[9 Aug 2015 14:42] Daniël van Eeden
Description:
To upgrade from 5.6 to 5.7:
1. stop 5.6
2. start 5.7 (bind it to ::1 or use skip-networking)
3. run mysql_upgrade
4. restart

Why not do it like this:
1. Let 5.7 write a version id to to $datadir/MYSQL_VERSION_ID
2. Let MySQL 5.8 detect this on startup and automatically bind to ::1
3. Then do the upgrade
4. Then automatically restart (or if possible re-initialize)

How to repeat:
See description
[11 Aug 2015 9:18] MySQL Verification Team
Hello Daniel,

Thank you for the feature request!

Thanks,
Umesh
[18 Jun 2016 21:27] Omer Barnir
Posted by developer:
 
Reported version value updated to reflect release name change from 5.8 to 8.0