Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

mysql.sock vanished (?!) - Please help!

Status
Not open for further replies.

Nick129

IS-IT--Management
Sep 8, 2002
3
GR
I just upgraded from mysql 3.23.51 to 4.0.3 and mysql refuses to start. I found that mysql.sock file has vanished from the system!! I have looked at all places, but can't find it. Where can I find a copy of the file and download/reinstall it? I have tried reinstalling the .rpm packages (I am on RH 7.2) but the file did not show up. Please help!
 
/etc/rc.d/init.d/mysqld restart


see what messages you get and post em here . ______________________________________________________________________
There's no present like the time, they say. - Henry's Cat.
 
OK, thank you for your reply. Here is what I do:

>/etc/rc.d/init.d/mysqld restart
bash: /etc/rc.d/init.d/mysqld No such file or directory

>/usr/sbin/mysqld restart
/usr/sbin/mysql: Too many parameters
/usr/sbin/mysql Ver 3.23.52 for pc-linux-gnu on i686
Use '--help' or '--no-defaults --help' for a list of available options

>mysql
ERROR 2002: Can't connect to local MySQL server through socket '/var/lib/mysql.sock' (2)

>safe_mysqld
Starting mysqld-max daemon with databases from /var/lib/mysql
020910 10:44:26 mysqld ended

I checked and found that the mysqld daemon is not running.

Please advise.
Thanks,
Nick
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top