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.

WHM 11.44 Upgrade Issue with Remote MySQL

Discussion in 'General Discussion' started by jamesterror, Jun 4, 2014.

  1. jamesterror

    jamesterror Member

    Joined:
    Feb 28, 2013
    Messages:
    22
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hi,

    Our Web Server has tried to upgrade to WHM 11.44 but failed and is showing the yellow error box message in WHM stating that "The last attempt to update cPanel & WHM was blocked. " - "Please correct these issues and rerun updates.
    fatal: Newer releases of cPanel & WHM are not compatible with your MySQL version: 5.1. Upgrade your MySQL server to a version greater or equal to 5.5".

    Our MySQL server has updated fine - and is running MySQL 5.5.

    Is there an easy fix for how we resolve this on our main Web Server?

    Would it be correct to edit /var/cpanel/cpanel.config and change it to mysql-version=5.5 ?

    Thanks!
    James
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    648
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    If you are seeing that warning message, then it means that MySQL did not upgrade successfully. Please post the output from:

    Code:
    mysql -V
    rpm -qa|grep MySQL
    grep mysql-version /var/cpanel/cpanel.config
    
    Thank you.
     
  3. jamesterror

    jamesterror Member

    Joined:
    Feb 28, 2013
    Messages:
    22
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hey Michael,

    Thanks for your reply :)

    Seems you are right, our MySQL on the Web Server is 5.1, however we have Remote MySQL setup - hence my confusion.

    The Web Server -

    Code:
    mysql -V
    mysql  Ver 14.14 Distrib 5.1.73, for unknown-linux-gnu (x86_64) using readline 5.1
    
    rpm -qa|grep MySQL
    MySQL51-server-5.1.73-1.cp1136
    MySQL51-devel-5.1.73-1.cp1136
    cpanel-perl-514-MySQL-Diff-0.43-1.cp1136
    MySQL51-test-5.1.73-1.cp1136
    MySQL51-shared-5.1.73-1.cp1136
    MySQL51-client-5.1.73-1.cp1136
    
    grep mysql-version /var/cpanel/cpanel.config
    mysql-version=5.1
    
    The MySQL server -

    Code:
    mysql -V
    mysql  Ver 14.14 Distrib 5.5.37, for Linux (x86_64) using readline 5.1
    
    rpm -qa|grep MySQL
    
    MySQL55-client-5.5.37-1.cp1136
    MySQL55-devel-5.5.37-1.cp1136
    MySQL55-shared-5.5.37-1.cp1136
    MySQL55-server-5.5.37-1.cp1136
    cpanel-perl-514-MySQL-Diff-0.43-2.cp1136
    MySQL55-test-5.5.37-1.cp1136
    
    grep mysql-version /var/cpanel/cpanel.config
    mysql-version=5.5
    
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    648
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Please ensure you update your local installation of MySQL to version 5.5. You can always disable it after the update if you are not using the local installation, but a MySQL 5.1 installation will prevent cPanel updates to version 11.44.

    Thank you.
     
  5. jamesterror

    jamesterror Member

    Joined:
    Feb 28, 2013
    Messages:
    22
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hi Michael,

    Thanks for clarifying - the option via WHM only allows for the remote MySQL service to be upgraded so I assume we need to run this update via SSH. Is there any documentation on this?

    Thanks,
    James
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    648
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    I suggest opening a support ticket so we can take a closer look. We may need to open an internal case to address this issue. Please post the ticket number here so we can update this thread with the outcome.

    Thank you.
     
  7. jamesterror

    jamesterror Member

    Joined:
    Feb 28, 2013
    Messages:
    22
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hi Michael,

    Request id is: 5049191

    Thanks,
    James
     
  8. cPanelPeter

    cPanelPeter Technical Analyst III
    Staff Member

    Joined:
    Sep 23, 2013
    Messages:
    569
    Likes Received:
    15
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello James,

    Thank you. We've confirmed that the following steps seem to fix this issue when you have both a local and remote set up of MySQL running.

    Code:
    1) Set mysql_version=5.5 in /var/cpanel/cpanel.config
    2) Run /scripts/check_cpanel_rpms --fix
    3) Run EasyApache to get PHP linked with the new MySQL client libs
    4) Run /scripts/upcp --force to update to 11.44
    
     
  9. jamesterror

    jamesterror Member

    Joined:
    Feb 28, 2013
    Messages:
    22
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hi Peter,

    Thanks - yes that is correct.

    All resolved, thank you to cPanel for the quick assistance solving this.

    Regards,
    James
     
Loading...

Share This Page