Upgrading MySQL
Upgrade from MySQL 5.6 to 5.7
Last edited by Junyangz AT 2018-05-18 19:44:46
If you plan to to upgrade using the data directory from your existing:
MySQL installation:
Stop the old (MySQL 5.6) server
Upgrade the MySQL binaries in place (replace the old binaries with the new ones)
Start the MySQL 5.7 server normally (no special options)
Run mysql_upgrade to upgrade the system tables
Restart the MySQL 5.7 server
Installing MySQL from Source
Backup old MySQL
Replace the binaries
Set MySQL PATH
Check and Upgrade MySQL Tables
Reference
Last updated