Jump to content


Photo

mysql.sock error


  • Please log in to reply
1 reply to this topic

#1 sandman25

sandman25
  • New Members
  • Pip
  • Newbie
  • 1 posts

Posted 19 October 2006 - 08:03 PM

I just setup a new installation of Fidora Core 5 on my server, and got everything up and running except mysql.

I installed it with yum, but when I try and start it I get an error:

/etc/rc.d/init.d/mysqld start
-bash: /etc/rc.d/init.d/mysqld: No such file or directory

if I simply try mysql start
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)

I looked all over for a mysql.sock file and there doesn't seem to one around, in the directory it tried or any other. I read it should be genereated if it is unfound, but that doesn't seem to be happening.

Any help on this would be super.
Thank you
Rich


#2 fenway

fenway
  • Staff Alumni
  • MySQL Si-Fu / PHP Resident Alien
  • 16,199 posts
  • LocationToronto, ON

Posted 19 October 2006 - 10:10 PM

There is a ton of info on this topic in the refman.
Seriously... if people don't start reading this before posting, I'm going to consider not answering at all.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users