Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: rasara1 on May 23, 2006, 03:40:11 AM

Title: can't login mysql
Post by: rasara1 on May 23, 2006, 03:40:11 AM
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2

why reset mysql
Title: can't login mysql
Post by: NickCritten on May 23, 2006, 02:37:42 PM
More info please!

Where does this error appear?
What did you do before it happened?
What have you done to figure out the problem for yourself?

etc. etc.
Title: I got this error ...
Post by: cristi3k on October 13, 2006, 10:55:58 AM
.. from installing some rpms.
here is a solution that worked for me:

cd /var/lib
chown mysql.root mysql
chmod 755 mysql
Title: Re: I got this error ...
Post by: cactus on October 13, 2006, 01:48:15 PM
Quote from: "cristi3k"
.. from installing some rpms.
here is a solution that worked for me:

cd /var/lib
chown mysql.root mysql
chmod 755 mysql
The above make me think you installed mysql RPM's am I correct? If you use webmail, check that this works properly as many issues in upgrading/altering mysql resulteed in broken webmail.

One tip for the future, describe problems as detailed as possible, saying stuff doesn't work won't give users on this forum not much to work with. It helps when you tell us what you did before, so if you installed RPM's, specify what RPM's, all actions taken and diagnosis you performed.
Title: Re: I got this error ...
Post by: william_syd on October 13, 2006, 02:42:29 PM
Quote from: "cristi3k"
.. from installing some rpms.
here is a solution that worked for me:

cd /var/lib
chown mysql.root mysql
chmod 755 mysql


Interesting,

My /var/lib/mysql directory is owner:mysql group:mysql permissions:755