Hello,
I work under Redhat 4.0, By default, I installed the packages Mysql and Apache. I have no problem to start Apache ... However, I can not start Mysql, I have the error:
Can't connect to local mysql server through socket ' var lib mysql mysql.sock' 2
I think, there is a problem of installing MySQL. The file/var/lib/mysql/mysql.sock does not exist, the directory var/lib/mysql is not!
When I type the command: whereis mysql
HTML Code:
mysql:/usr/bin/mysql/usr/lib/mysql/usr/include/mysql/usr/share/mysql/usr/share/man/man1/mysql.1.gz
When I type the command: rpm-qa | grep mysql
HTML Code:
mysql-4.1.20-2.RHEL4.1.0.1
mysql-devel-4.1.20-2.RHEL4.1.0.1
perl-DBD-mysql-4008-1.el4.rf
mysqlclient10-3.23.58-4.RHEL4.1
libdbi-dbd-mysql-0.6.5-10.RHEL4.1
mysqlclient10-3.23.58-4.RHEL4.1
mysql-4.1.20-2.RHEL4.1.0.1
What should I do to resolve this error and start mysql?
Do I have to uninstall and reinstall mysql mysql?
Thank you in advance for your help
Bookmarks