February 2018
Intermediate to advanced
510 pages
16h 10m
English
Export or take a dump of the old MySQL version. Install the new MySQL 8 version and load the dump file into the new MySQL 8 version with the MySQL upgrade. Perform the following steps to apply the logical up-gradation:
mysqldump -u root -p --add-drop-table --routines --events --all-databases -- force > data-for-upgrade.sql
The--routines and --events options are used to include stored routines and events in the dump file and define these options explicitly to get an effect.
mysqld --initialize --datadir=/path/to/8.0-datadir
Read now
Unlock full access