Error upgrading MySQL 5.6 to MariaDB 10.1

cristis

Registered
Jan 31, 2016
2
0
1
Romania
cPanel Access Level
Root Administrator
Hi,

Trying to upgrade MySQL 5.6 to MariaDB 10.1, with WHM 11.54.0.8. Looks like the upgrade script is a bit broken:

Starting process with log file at /var/cpanel/logs/mysql_upgrade.20160201-074128/unattended_upgrade.log
Beginning “MariaDB 10.1” upgrade...
Obtained version information from system.
Ensuring the “MariaDB100” repository is available and working.
checkyum version 22.3
Ensuring that the package “MariaDB-client” with version matching “10.0” is available.

...

mysql restarted successfully.
The system was not able to ensure the availability of the “MariaDB-client” package: at /usr/local/cpanel/Cpanel/MariaDB/Install.pm line 194.​

Any suggestions?
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,260
463
Actually it seems there was a problem with the yum (python) installation, once that was fixed the update worked smoothly.
Hello :)

I am happy to see you were able to address the issue. Thank you for updating us with the outcome.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,260
463
Hello

I have the same problem, could you please how did you fix the yum problem?
Thanks
Hello,

Could you let us know the output when you run the "yum update" command on this system and attempt to update the packages?

Thank you.
 

Bipul-HostMight

Registered
Feb 3, 2017
1
0
51
Bangladesh
cPanel Access Level
Root Administrator
I'm getting about same error : We expected to upgrade to 5.6; however, the system is currently on version 5.5. at /usr/local/cpanel/Whostmgr/Mysq/Upgrade.pm line 827

Server info :
CloudLinux Server release 6.8 (Oleg Makarov)
Cp version : 11.62.0.8
mysql Ver 15.1 Distrib 5.5.54-MariaDB, for Linux (x86_64) using readline 5.1

rpm -qa|grep MySQL


alt-python27-MySQL-mysql5.0-1.2.5-1.el6.cloudlinux.2.x86_64
alt-python27-MySQL-mariadb101-1.2.5-1.el6.cloudlinux.2.x86_64
alt-python27-MySQL-percona5.6-1.2.5-1.el6.cloudlinux.2.x86_64
alt-python27-MySQL-percona5.5-1.2.5-1.el6.cloudlinux.2.x86_64
alt-python27-MySQL-mysql5.7-1.2.5-1.el6.cloudlinux.2.x86_64
alt-python27-MySQL-common-1.2.5-1.el6.cloudlinux.2.x86_64
alt-python27-MySQL-mysql5.5-1.2.5-1.el6.cloudlinux.2.x86_64
alt-python27-MySQL-mysql5.6-1.2.5-1.el6.cloudlinux.2.x86_64
alt-python27-MySQL-mysql5.1-1.2.5-1.el6.cloudlinux.2.x86_64
alt-python27-MySQL-mariadb10-1.2.5-1.el6.cloudlinux.2.x86_64
cpanel-perl-524-MySQL-Diff-0.50-1.cp1162.x86_64
alt-python27-MySQL-meta-1-2.el6.x86_64
[email protected] [~]# arch
x86_64
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,260
463