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.

MySQL seems to have Uninstalled

Discussion in 'Database Discussions' 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:
    30,811
    Likes Received:
    667
    Trophy Points:
    113
    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.
     
Loading...

Share This Page