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.

Upgrade Mysql on dnsonly

Discussion in 'Database Discussions' started by bdeivid, Sep 2, 2010.

  1. bdeivid

    bdeivid Member

    Joined:
    Jun 1, 2009
    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    1
    Hello,

    I see in change log that the MySQL on dnsOnly is up to version 5.1
    I have a server DNSOnly with MySQL database server acting as remote Mysql.
    Current version is 5.0.9.1 and when I go to upgrade Cpanel in whm it says Mysql is up to date and Mysql is not upgraded to 5.1.x latest version ???
    OS: is centos 5.4 x64


    Please advise.

    br
    bdeivid
     
  2. tandyuk

    tandyuk Active Member

    Joined:
    Dec 18, 2003
    Messages:
    32
    Likes Received:
    1
    Trophy Points:
    8
    Im looking for an answer to this question as well.
    Googling for "cpanel dnsonly upgrade mysql" brings visitors to this topic.
     
  3. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    Hello tandyuk,

    Please edit /var/cpanel/cpanel.config in root SSH on the DNS Only machine for this line:

    Code:
    mysql-version=5.0
    Change to have 5.1 instead of 5.0, then save the file. At that point, run the following command:

    Code:
    /scripts/mysqlup --force
    I did this just now on a DNS Only test machine, and it now reports MySQL 5.1 version on that server:

    Code:
    root@dnsbeta # mysql_config --version
    5.1.54
    Thanks.
     
Loading...

Share This Page