954,152 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

mysql start up problem

Hi, I'm having a problem of starting mySQL.. well I'm actually forgot what did I do a long time ago that mess the mySQL up in my server. Well now when I'm trying to execute this command from the terminal such as: /etc/init.d/mysql start .. instead of starting the terminal give me an error said Can't execute /usr/local/mysql/bin/mysqld_safe from dir /usr/local/mysql.

Well I have no clue how to fix it. Is anyone can help me with this problem? Please help ...

By the way i'm running mysql on redhat 9.0 and mysql version is 3.23.54

argh2005
Newbie Poster
8 posts since Aug 2003
Reputation Points: 10
Solved Threads: 0
 

do a which safe_mysqld and report it back here

you shouldn't be starting things manually from /etc/init.d and safe_mysqld shouldn't be living there.

subtronic
Junior Poster
117 posts since Aug 2003
Reputation Points: 44
Solved Threads: 1
 

how about forcing mysql-server back onto your system to clear up any missing files ,etc?
rpm -Uvh mysql-server --force

Ron McKown
Newbie Poster
5 posts since Oct 2003
Reputation Points: 11
Solved Threads: 0
 

Try this:

/usr/local/bin/safe_mysqld --user=mysql &

change the path to the correct path to your safe_mysqld if it's not the same

himerus
Junior Poster in Training
84 posts since Aug 2003
Reputation Points: 11
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You