Ability to upgrade older MySQL/MariaDB installations on DNSONLY servers via WHM
Open Discussion
Right now, I have DNSONLY servers still using MySQL 5.5 which has reached EOL since the end of 2015. There isn't a way for me to upgrade the servers to use MySQL 5.6 or MariaDB 10.0 without having to manually do this myself, which could potentially hose the server. It would be nice if cPanel could provide a way for me to do this automatically via WHM like on normal (non-DNSONLY) cPanel server installations.
You can upgrade it to 5.6 via the shell:
As root, edit /var/cpanel/cpanel.config
change:
mysql-version=5.5
to
mysql-version=5.6
/usr/local/cpanel/scripts/check_cpanel_rpms --fix
Unfortunately, going to 10.0 or 10.1 won't work, and will just uninstall mySQL.
You can upgrade it to 5.6 via the shell:
As root, edit /var/cpanel/cpanel.config
change:
mysql-version=5.5
to
mysql-version=5.6
/usr/local/cpanel/scripts/check_cpanel_rpms --fix
Unfortunately, going to 10.0 or 10.1 won't work, and will just uninstall mySQL.
Replies have been locked on this page!