RE: MySQL problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



When a MySQL server starts on a local machine, by default it creates a
socket file for use my client applications on the local machine.  The
/var/lib/mysql/mysql.sock is the default path for the socket file.  

Did you use the MySQL binary RPM or did you build the MySQL from source?  

Have you checked the permissions of the MySQL directories?  That is, does
the user account under which MySQL runs have permissions to create the
socket file.  

Also, I seem to remember reading somewhere that the directory "sticky bit"
needs to be set in the place where the MySQL socket file is created.  

HTH

-----Original Message-----
From: Michael Sullivan [mailto:msulli1355@xxxxxxxxxxxxxxxx]
Sent: Sunday, December 07, 2003 2:44 PM
To: redhat-list@xxxxxxxxxx
Subject: MySQL problem


I recently set up an email server on one of the machines on my network
and was attempting to set up a webmail client (it's the same machine
that the web server is on.).  I downloaded the Popper webmail client,
and it said that I would need MySQL installed.  I downloaded the binary
from www.mysql.com and followed the install instructions, but when I
tried to run mysql it gave me an error.  I tried running mysql on
another machine (which has RH9 complete install on it) and I got the
same error.  I've pasted the error below.  Any suggestions on how to fix
this?  Thanx!

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


I've checked that location on the server PC and there is no file at that
location.  It's not on the RH9 complete install PC either...

-Michael Sullivan-


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux