The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

cpanel update error after change to MariaDB

Discussion in 'Database Discussions' started by gnsw, Aug 6, 2014.

  1. gnsw

    gnsw Member

    Joined:
    Aug 6, 2014
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hello,
    After changing to mariadb cpanel has an error when trying to update:
    Code:
    "[20140806.003902] file /usr/share/mysql/charsets/README from install of MySQL55-server-5.5.37-1.cp1136.x86_64 conflicts with file from package MariaDB-common-5.5.38-1.el6.x86_64
    [20140806.003902]        file /usr/share/mysql/charsets/Index.xml from install of MySQL55-server-5.5.37-1.cp1136.x86_64 conflicts with file from package MariaDB-common-5.5.38-1.el6.x86_64"
    what can i do?
    any help it be very apreciated
    thanks
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
  3. gnsw

    gnsw Member

    Joined:
    Aug 6, 2014
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hello, thanks for the response
    This was the exact method that i used:

    Code:
    cd /etc/yum.repos.d/
    nano /etc/yum.repos.d/MariaDB.repo
    -----repo info-----
    MariaDB 5.5 CentOS repository list - created 2014-07-16 20:59 UTC
    # http://mariadb.org/mariadb/repositories/
    [mariadb]
    name = MariaDB
    baseurl = Index of /5.5/centos6-amd64
    gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
    gpgcheck=1
    ----------------------------
    yum --enablerepo=remi-test --disablerepo=remi install compat-mysql55
    yum remove mysql* mysql-server mysql-devel mysql-libs
    yum remove MySQL55*
    yum install MariaDB-devel MariaDB-client MariaDB-server –y
    I did not know that MariaDB is not supported by cpanel :confused:
    is there any way that can I upgrade cPanel avoiding checking of MySQL?
    or is there a safe way back to mysql? (it's a production server)
    thanks
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
  5. gnsw

    gnsw Member

    Joined:
    Aug 6, 2014
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Ok, thanks for the guide, It can be said that I only needed to run:

    Code:
    /scripts/update_local_rpm_versions --edit target_settings.MySQL50 uninstalled
    /scripts/update_local_rpm_versions --edit target_settings.MySQL51 uninstalled
    /scripts/update_local_rpm_versions --edit target_settings.MySQL55 uninstalled
    because I have installed MariaDB

    Thanks
     
  6. gnsw

    gnsw Member

    Joined:
    Aug 6, 2014
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    OK, solved :D
    Yes, it works using the above commands.
    I hope help others who may have the same problem
    thanks
     
  7. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page