update mysql centos

Solutions on MaxInterview for update mysql centos by the best coders in the world

showing results for - "update mysql centos"
Ana
05 Oct 2017
1# WARNING: Backup before you do this as it will delete all your databases
2wget http://repo.mysql.com/mysql57-community-release-el7.rpm -P /tmp/
3yum remove mysql-community-release
4rpm -ivh /tmp/mysql57-community-release-el7.rpm
5yum update mysql
6sudo systemctl start mysqld
7sudo systemctl status mysqld
8sudo mysql_upgrade
9sudo systemctl restart mysqld
10sudo systemctl status mysqld