Upgrading MySQL by local RPMs

* Stop mysqld

* Verify mysqld is completely stopped using
ps ax | grep mysql
Or
pgrep mysql

* Remove the existing RPMs using
sudo rpm -e --nodeps $(rpm -qa | grep -i ^mysql)


* Install the new RPMs using
sudo yum install mysql-commercial-{client,server,common,libs*}-5.7.28*.x86_64.rpm
(You probably do not need the devel, embedded, or test RPMs)

Comments