How to upgrade MySQL in Linux such as Fedora with Yum which is faster and convenient
Using Fedora as example but similar for other Linux:
Install MySQL Yum Repository
Example for Fedora:
Then choose the package you want to install/upgrade, such as:
Finally we can check the version:
Install MySQL Yum Repository
Example for Fedora:
shell> sudo dnf -y install https://dev.mysql.com/get/mysql80-community-release-fc31-1.noarch.rpm
shell> sudo yum --disablerepo=\* --enablerepo='mysql*-community*' list available
Then choose the package you want to install/upgrade, such as:
shell> sudo yum -y install mysql-community-{client,server}
Finally we can check the version:
$ mysql --version
mysql Ver 8.0.19 for Linux on x86_64 (MySQL Community Server - GPL)
$ mysqldump --version
mysqldump Ver 8.0.19 for Linux on x86_64 (MySQL Community Server - GPL)
Comments
Post a Comment