- Plesk for Linux
This article provides instructions for upgrading MySQL 5.5 to 5.6/5.7 and MariaDB 5.5 to 10.0/10.1/10.2 on Linux.
To find out your Linux distribution, run:
# plesk version | grep "OS version"
# cat /etc/*-release
Direct upgrade from MySQL 5.1 to MySQL 5.6/5.7 will break tables structure. The instructions for upgrading MySQL from 5.1 to 5.5 on Linux are available here: How to upgrade MySQL from 5.1 to 5.5 on Linux
It is strongly recommended to create a server snapshot (full backup) before upgrading. Perform MySQL upgrade at your own risk.
Before starting a MySQL upgrade, stop the WatchDog service if it is used on a server. Check its status with the
service watchdog status command.
MySQL will not be upgraded on CentOS/RHEL-based operating systems if it was installed from the Webtatic Yum repository:
# rpm -qa | grep -i mysql
MariaDB 10.3 is not currently supported. Support for this version will be added in the upcoming release Plesk Onyx 17.9. For details, visit this KB article.
To start an upgrade of MySQL/MariaDB, connect to a server via SSH as root/superuser and follow the instructions for your operating system:
- How to backup/restore all MySQL databases in Plesk for Linux
- The Application Vault page or any application cannot be opened in Plesk: Can't open lib '/usr/lib/libmyodbc5.so'
- Can't connect to local MySQL server through socket
- Application Vault is not accessible: 502 Bad Gateway / WordPress installation hangs on 100%