How to upgrade MySQL server from 5.1 to 5.5 on Linux?
Plesk autoinstaller gets packages from base repositories of an operating system installed.
If MySQL 5.5 is not listed in the base repository, it will not be available for Plesk autoinstaller.
In that case, to upgrade MySQL version to 5.5, it is needed to configure a third-party repository.
On RedHat-based systems Atomic repository can be used:
# wget -q -O - http://www.atomicorp.com/installers/atomic | sh # yum upgrade mysql # mysql_upgrade -uadmin -p`cat /etc/psa/.psa.shadow`
In case if the following message appears, please refer to Error during yum upgrade: "Packages excluded due to repository protections" article:
# yum upgrade mysql .... 881 packages excluded due to repository protections No Packages marked for Update
On Debian-based systems MySQL 5.5 should be available from default repositories:
# apt-get update # apt-get upgrade mysql-server # mysql_upgrade -uadmin -p`cat /etc/psa/.psa.shadow`
- PHP package may also be upgraded during this procedure.
- Oracle MySQL yum repository is not supported by Plesk.