mysql broken, urgent

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").

Specs:
Fedora Core 1
cPanel + WHM

I ran:
ln -s /var/lib/mysql/mysql.sock /tmp/mysql.sock
/scripts/updatenow
/scripts/restartsrv_mysql --check (showed error that file not found)
update apache
SecretAgentOnlineAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

yuzhCommented:
Just start the mysql server startup script, see what happen.
0
SecretAgentOnlineAuthor Commented:
What script is that? Please give me exact ssh command to run.

I've literally done so many things including re-installation of MySQL.
0
yuzhCommented:
or try to run

/path-to/safe_mysqld -u root &

or
/path-to/safe_mysqld -u root -p &
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

SecretAgentOnlineAuthor Commented:
found out mysql is not even installed

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

0
yuzhCommented:
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
script.

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
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
wesly_chenCommented:
Hi,

   You can download MySQL rpms from the following URL:
http://download.fedora.redhat.com/pub/fedora/linux/core/1/i386/os/Fedora/RPMS/mysql-3.23.58-4.i386.rpm
http://download.fedora.redhat.com/pub/fedora/linux/core/1/i386/os/Fedora/RPMS/mysql-server-3.23.58-4.i386.rpm

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.
http://download.fedora.redhat.com/pub/fedora/linux/core/1/i386/os/Fedora/RPMS/

Regards,

Wesly
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.