Skip to main content

Mysql5.6 and Mariadb5.5 conflicting when trying to update

Comments

7 comments

  • David_spm
    OK so there was some important info at the start of the error output too. Please see below for that, I tried the check_cpanel_rpms --fix and then retried this but it returns the same error: Obtained version information from system. Ensuring MySQL RPMs for version "5.6". Running: /usr/local/cpanel/scripts/check_cpanel_rpms --targets=MySQL41,MySQL50,MySQL51,MySQL55,MySQL56,MySQL57,MariaDB100,MariaDB101,MariaDB102 --fix [2019-01-24 23:30:36 -0500] [2019-01-24 23:30:36 -0500] Problems were detected with cPanel-provided files which are RPM controlled. [2019-01-24 23:30:36 -0500] If you did not make these changes intentionally, you can correct them by running: [2019-01-24 23:30:36 -0500] [2019-01-24 23:30:36 -0500] > /usr/local/cpanel/scripts/check_cpanel_rpms --fix [2019-01-24 23:30:36 -0500] The following RPMs are missing from your system: [2019-01-24 23:30:36 -0500] MySQL56-client-5.6.41-1.cp1162 [2019-01-24 23:30:36 -0500] MySQL56-devel-5.6.41-1.cp1162 [2019-01-24 23:30:36 -0500] MySQL56-server-5.6.41-1.cp1162 [2019-01-24 23:30:36 -0500] MySQL56-shared-5.6.41-1.cp1162 [2019-01-24 23:30:36 -0500] MySQL56-test-5.6.41-1.cp1162 [2019-01-24 23:30:36 -0500] compat-MySQL50-shared-5.0.96-4.cp1136 [2019-01-24 23:30:36 -0500] compat-MySQL51-shared-5.1.73-1.cp1150 [2019-01-24 23:30:36 -0500] Removing 0 broken rpms: [2019-01-24 23:30:36 -0500] rpm: no packages given for erase [2019-01-24 23:30:38 -0500] Downloading http://httpupdate.cpanel.net/RPM/11.62/centos/6/x86_64/rpm.sha512 [2019-01-24 23:30:38 -0500] Successfully verified signature for cpanel (key types: release). [2019-01-24 23:30:38 -0500] Downloading http://httpupdate.cpanel.net/RPM/11.36/centos/6/x86_64/rpm.sha512 [2019-01-24 23:30:38 -0500] Successfully verified signature for cpanel (key types: release). [2019-01-24 23:30:38 -0500] Downloading http://httpupdate.cpanel.net/RPM/11.50/centos/6/x86_64/rpm.sha512 [2019-01-24 23:30:38 -0500] Successfully verified signature for cpanel (key types: release). [2019-01-24 23:30:38 -0500] Downloading http://httpupdate.cpanel.net/RPM/11.62/centos/6/x86_64/MySQL56-client-5.6.41-1.cp1162.x86_64.rpm [2019-01-24 23:30:39 -0500] Downloading http://httpupdate.cpanel.net/RPM/11.62/centos/6/x86_64/MySQL56-server-5.6.41-1.cp1162.x86_64.rpm [2019-01-24 23:30:42 -0500] Downloading http://httpupdate.cpanel.net/RPM/11.62/centos/6/x86_64/MySQL56-test-5.6.41-1.cp1162.x86_64.rpm [2019-01-24 23:30:46 -0500] Downloading http://httpupdate.cpanel.net/RPM/11.50/centos/6/x86_64/compat-MySQL51-shared-5.1.73-1.cp1150.x86_64.rpm [2019-01-24 23:30:46 -0500] Downloading http://httpupdate.cpanel.net/RPM/11.62/centos/6/x86_64/MySQL56-devel-5.6.41-1.cp1162.x86_64.rpm [2019-01-24 23:30:47 -0500] Downloading http://httpupdate.cpanel.net/RPM/11.62/centos/6/x86_64/MySQL56-shared-5.6.41-1.cp1162.x86_64.rpm [2019-01-24 23:30:47 -0500] Downloading http://httpupdate.cpanel.net/RPM/11.36/centos/6/x86_64/compat-MySQL50-shared-5.0.96-4.cp1136.x86_64.rpm [2019-01-24 23:30:47 -0500] Disabling service monitoring. [2019-01-24 23:30:48 -0500] Hooks system enabled. [2019-01-24 23:30:48 -0500] Checking for and running RPM::Versions 'pre' hooks for any RPMs about to be installed [2019-01-24 23:30:48 -0500] All required 'pre' hooks have been run [2019-01-24 23:30:48 -0500] No RPMS need to be uninstalled [2019-01-24 23:30:48 -0500] Installing new rpms: MySQL56-client-5.6.41-1.cp1162.x86_64.rpm MySQL56-devel-5.6.41-1.cp1162.x86_64.rpm MySQL56-server-5.6.41-1.cp1162.x86_64.rpm MySQL56-shared-5.6.41-1.cp1162.x86_64.rpm MySQL56-test-5.6.41-1.cp1162.x86_64.rpm compat-MySQL50-shared-5.0.96-4.cp1136.x86_64.rpm compat-MySQL51-shared-5.1.73-1.cp1150.x86_64.rpm [2019-01-24 23:30:48 -0500] Preparing packages for installation...
    0
  • cPanelLauren
    Hello @David_spm Can you tell me what version of MySQL/MariaDB you're running right now? You can find this by running: mysql -v
    Can you also run the following: rpm -qa |egrep -i 'maria|mysql'
    0
  • David_spm
    Sure here it is Server version: 5.5.62-MariaDB MariaDB Server
    Hello @David_spm Can you tell me what version of MySQL/MariaDB you're running right now? You can find this by running: mysql -v
    Can you also run the following: rpm -qa |egrep -i 'maria|mysql'

    0
  • cPanelLauren
    Sure here it is Server version: 5.5.62-MariaDB MariaDB Server

    Ahh interesting. What about the command I gave you?
    0
  • David_spm
    Ahh interesting. What about the command I gave you?

    Sorry I forgot to add that, here you go: MariaDB-devel-5.5.63-1.el6.x86_64 cpanel-mysql-libs-5.1.73-1.cp1156.x86_64 cpanel-mysql-5.1.73-1.cp1156.x86_64 ea-php56-php-mysqlnd-5.6.40-2.2.2.cpanel.x86_64 cpanel-mariadb-connector-devel-3.0.3-3.cp1174.x86_64 cpanel-perl-526-DBD-mysql-4.046_01-3.cp1174.x86_64 MariaDB-common-5.5.63-1.el6.x86_64 perl-DBD-MySQL-4.013-3.el6.x86_64 MariaDB-client-5.5.63-1.el6.x86_64 ea-php71-php-mysqlnd-7.1.26-2.2.2.cpanel.x86_64 ea-php70-php-mysqlnd-7.0.33-2.2.2.cpanel.x86_64 MariaDB-compat-5.5.63-1.el6.x86_64 cpanel-mariadb-connector-3.0.3-3.cp1174.x86_64 cpanel-perl-526-MySQL-Diff-0.50-1.cp1170.noarch MariaDB-server-5.5.63-1.el6.x86_64
    so what is causing this?
    0
  • cPanelLauren
    Hi @David_spm I believe this is being caused due to the MariaDB package you're using and i think it would also explain the MySQL confusion earlier on. MariaDB 5.5 is MariaDB + MySQL 5.5. We don't support this package and they do give instructions on how to move to just MariaDB 10.0 here System Administration Services | cPanel Forums if you don't have one already.
    0
  • David_spm
    OK thanks, will do that
    0

Please sign in to leave a comment.