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.

I was setup remote mysql server. How I can correct remove local?

Discussion in 'Database Discussions' started by esupport.org.ua, Jun 5, 2013.

  1. esupport.org.ua

    esupport.org.ua Well-Known Member

    Joined:
    Nov 16, 2004
    Messages:
    65
    Likes Received:
    0
    Trophy Points:
    6
    Hi

    I want use only remote mysql server (not local). Now I just stop it. But I want remove it.
    Please tell me how I can do it safety?
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

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

    You can configure a remote MySQL server via:

    "WHM Home » SQL Services » Setup Remote MySQL server"

    This will automatically disable MySQL on your local machine. The option is documented at:

    Setup Remote MySQL Server

    You should not uninstall MySQL completely from the local machine. Is there a specific reason you would like to do this?

    Thank you.
     
  3. esupport.org.ua

    esupport.org.ua Well-Known Member

    Joined:
    Nov 16, 2004
    Messages:
    65
    Likes Received:
    0
    Trophy Points:
    6
    I was uninstall mysql server and leave mysql client
    Reasons? I don't want store unused files.
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    653
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    You could configure the MySQL RPMs as unmanaged with a command such as:

    Code:
    # /scripts/update_local_rpm_versions --edit target_settings.MySQL51 unmanaged
    Replace "MySQL51" with the version of MySQL currently installed locally (e.g. MySQL50, MySQL55). Then, you can manually remove the specific MySQL RPMs that are not used and cPanel will not automatically reinstall it.

    Thank you.
     
Loading...

Share This Page