ERROR 2002: Can't connect to local MySQL server through socket'/var/lib/mysql/mysql.sock' (2)
Marco A. Ramos
mramos at sanyoval.net
Tue Mar 29 19:24:44 UTC 2005
I had a similar error problem but instaling the mysql++ software, I fixed it
uninstaling all MySQL software and installed the next list in that order:
MySQL-client-3.23.58-1.i386.rpm
MySQL-3.23.58-1.i386.rpm
MySQL-shared-3.23.58-1.i386.rpm
libdbi-dbd-mysql-0.6.5-5.i386.rpm
mod_auth_mysql-20030510-1.ent.i386.rpm
mysql-bench-3.23.58-1.i386.rpm
mysql-devel-3.23.58-1.i386.rpm
MySQL-python-0.9.1-6.i386.rpm
perl-DBD-MySQL-2.1021-3.i386.rpm
php-mysql-4.3.2-8.ent.i386.rpm
qt-MySQL-3.1.2-13.i386.rpm
mysql++-1.7.9-4.rh80.i386.rpm
-----Original Message-----
From: redhat-list-bounces at redhat.com
[mailto:redhat-list-bounces at redhat.com]On Behalf Of Brook Hurd
Sent: Tuesday, 29 March, 2005 10:49 AM
To: redhat-list at redhat.com
Subject: ERROR 2002: Can't connect to local MySQL server through
socket'/var/lib/mysql/mysql.sock' (2)
After installing Redhat 3 Enterprise Edition I made sure MySQL was part
of the install.
When I tried to start MySQL I got the following error:
ERROR 2002: Can't connect to local MySQL server through socket
'/var/lib/mysql/mysql.sock' (2)
The /var/lib/mysql directory did not exist. Even after creating the
folder, as suggested by this mailing list archives, it didn't help. The
folder permissions are root.root.
I tried uninstalling and reinstalling MySQL from the Redhat RPMs and I
still got the error. I even read previous e-mails and found little
help.
Any suggestions on what to do to make this work? I am at a loss.
The following packages are installed:
[root at W-pai-2077 mysql]# rpm -qa | grep mysql
mysql-3.23.58-15.RHEL3.1
mysql-bench-3.23.58-15.RHEL3.1
php-mysql-4.3.2-19.ent
libdbi-dbd-mysql-0.6.5-5
mysql-devel-3.23.58-15.RHEL3.1
mod_auth_mysql-20030510-1.ent
[root at W-pai-2077 mysql]# rpm -qa | grep MySQL
MySQL-shared-3.23.58-1
perl-DBD-MySQL-2.1021-3
qt-MySQL-3.1.2-13.4
MySQL-python-0.9.1-6
[root at W-pai-2077 mysql]#
--
redhat-list mailing list
unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
More information about the redhat-list
mailing list