How To Upgrade MySQL from 5.5 to 5.7 on CentOS/AWS Linux

Published Date Author: , Posted December 7th, 2017 at 10:28:05am

START: Server version: 5.5.54-log MySQL Community Server (GPL)
FINISH: Server version: 5.7.20-log MySQL Community Server (GPL)

1
2
3
4
5
6
mysql --execute="SET GLOBAL innodb_fast_shutdown=0;"
service mysqld stop
yum remove mysql mysql-*
yum install mysql57-devel mysql57-server mysql57-test
service mysqld start
mysql_upgrade
mysql --execute="SET GLOBAL innodb_fast_shutdown=0;"
service mysqld stop
yum remove mysql mysql-*
yum install mysql57-devel mysql57-server mysql57-test
service mysqld start
mysql_upgrade

No comments as yet.

Leave Your Comment  Leave a comment

All fields marked with "*" are required.