Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

scripts/mysqlup is deprecated. mysql is now updated by the rpm.versions system when you run upcp.

Discussion in 'Database Discussion' started by luis, Aug 2, 2013.

  1. luis

    luis Well-Known Member

    Joined:
    Sep 3, 2001
    Messages:
    50
    Likes Received:
    0
    Trophy Points:
    306
    Hello, now that /scripts/mysqlup is deprecated how do i go about reinstalling mysql manually?
     
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,387
    Likes Received:
    1,951
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Re: scripts/mysqlup is deprecated. mysql is now updated by the rpm.versions system when you run upcp

    Hello :)

    It's generally recommended to troubleshoot an issue before reinstalling MySQL to resolve it. However, if necessary, you can remove the existing MySQL RPMs and then run the following command:

    Code:
    /usr/local/cpanel/scripts/check_cpanel_rpms --fix
    It's also a good idea to backup your MySQL data before reinstalling it:

    Code:
    cp -Rf /var/lib/mysql /var/lib/mysql-backup
    You can remove the backed up directory after you ensure MySQL was reinstalled successfully.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. luis

    luis Well-Known Member

    Joined:
    Sep 3, 2001
    Messages:
    50
    Likes Received:
    0
    Trophy Points:
    306
    Re: scripts/mysqlup is deprecated. mysql is now updated by the rpm.versions system when you run upcp

    How do I remove the existing MySQL RPMs?
     
  4. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,387
    Likes Received:
    1,951
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Re: scripts/mysqlup is deprecated. mysql is now updated by the rpm.versions system when you run upcp

    You can run the following command to get a list of the MySQL RPMs installed on your system:

    Code:
    rpm -qa|grep MySQL
    Then, you can remove the RPMs that start with the version of your MySQL. For instance, if you have MySQL 5.5 installed, you would run a command such as this for each MySQL55 RPM:

    Code:
    rpm -e MySQL55-server-5.5.32-1.cp1136.x86_64
    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice