MySQL issues with /var/lib/mysql/mysql.sock
Hey guys,I'm having major issues with MySQL on a network for my local campus.
I was asked to install MySQL but am having issues. I tried the basic uploading of all RPMs (through SFTP) and starting rpm -i MySQL* but found myself with apparent conflicts. I looked to see if MySQL was already installed and sure enough it was. However, I'm receiving the infamous error:
[root@dl320 mysql]# mysql
ERROR 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
ERROR 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
So far I have been able to rpm -e most of the ones found while running rpm -qa | grep -i mysql . I got down to:
[root@dl320 lib]# rpm -qa | grep -i mysql
php-mysql-4.0.4pl1-9
mysql-3.23.36-1
php-mysql-4.0.4pl1-9
mysql-3.23.36-1
If anyone could post suggestions on how to completely remove this previous installation, I have all 4 necessary (new) RPMs waiting to be installed...
Thanks!
Regards,
Patrick