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!

MySQL seems to have Uninstalled

Discussion in 'Database Discussion' started by cmdrspock, May 30, 2015.

  1. cmdrspock

    cmdrspock Registered

    Joined:
    May 30, 2015
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Goes, Netherlands
    cPanel Access Level:
    Root Administrator
    Hi all,

    I was checking over a server that's been having MySQL issues, and I've found this gem;

    Code:
    root@s2 [/usr/local/cpanel/logs]# service mysql start
    /etc/init.d/mysql: line 301: cd: /usr/local/mysql: No such file or directory
    Starting MySQL ERROR! Couldn't find MySQL server (/usr/local/mysql/bin/mysqld_safe)
    When I change to /usr/local/mysql, I also can not find anything (it does not exist)

    Any ideas on how I could fix this?

    Best Wishes,
    Jamie Yorkshire
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,711
    Likes Received:
    1,794
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    MySQL data is stored in the following directory by default:

    /var/lib/mysql/

    What OS is installed on your server? Do you see output from "rpm -qa|grep MySQL"?

    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