VestaCP – Upgrade MySQL to 5.7 on CentOS 6

By |2019-10-06T04:31:39-04:00October 2nd, 2019|Categories: Linux System, Web Servers & Applications|Tags: , , |

Login as root to SSH: service mysqld stop mkdir /var/lib/mysqlbackup cp -aR /var/lib/mysql/* /var/lib/mysqlbackup yum localinstall https://dev.mysql.com/get/mysql57-community-release-el6-9.noarch.rpm yum install mysql-community-server service mysqld start mysql_upgrade -uroot service mysqld restart chkconfig --level 345 mysqld on reboot