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.

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

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

  1. luis

    luis Well-Known Member

    Joined:
    Sep 3, 2001
    Messages:
    50
    Likes Received:
    0
    Trophy Points:
    6
    Hello, now that /scripts/mysqlup is deprecated how do i go about reinstalling mysql manually?
     
  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
    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.
     
  3. luis

    luis Well-Known Member

    Joined:
    Sep 3, 2001
    Messages:
    50
    Likes Received:
    0
    Trophy Points:
    6
    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 Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
Loading...

Share This Page