mysql broken, urgent

Posted on 2004-11-11
Last Modified: 2013-12-15
I don't know what happened suddenly. MySQL is down and restarting it shows:

mysql has failed, please contact the sysadmin (result was "Warning, no valid mysql.sock file found.mysql has failed").

Fedora Core 1
cPanel + WHM

I ran:
ln -s /var/lib/mysql/mysql.sock /tmp/mysql.sock
/scripts/restartsrv_mysql --check (showed error that file not found)
update apache
Question by:SecretAgentOnline
    LVL 38

    Expert Comment

    Just start the mysql server startup script, see what happen.

    Author Comment

    What script is that? Please give me exact ssh command to run.

    I've literally done so many things including re-installation of MySQL.
    LVL 38

    Expert Comment

    or try to run

    /path-to/safe_mysqld -u root &

    /path-to/safe_mysqld -u root -p &

    Author Comment

    found out mysql is not even installed

    how can i install it? nothing of mysql is on the server

    LVL 38

    Accepted Solution

    I have a look at my installation, I install mysql in /usr/local/mysql (you need to replace it
    with your installtion path)

    cd /usr/local/mysql   #please replace with your installation path

    cd /support-files

    under /support-files, there is a file named "mysql.server" which is mysql server startup

    you can do:

    cp mysql.server /etc/rc3.d/ S40mysql

    then run:
    /etc/rc3.d/ S40mysql start

    Please read the README file and the installation file, or manual under docs, to perform
    the post installtion procedure
    LVL 38

    Assisted Solution


       You can download MySQL rpms from the following URL:

    Then run as root
    # rpm -ivh *.rpm

    If it complain need more libraries or packages, go to the following URL to download and repeat the command above.



    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Highfive Gives IT Their Time Back

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    How many times have you wanted to quickly do the same thing to a list but found yourself typing it again and again? I first figured out a small time saver with the up arrow to recall the last command but that can only get you so far if you have a bi…
    If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
    Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
    Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

    737 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    22 Experts available now in Live!

    Get 1:1 Help Now