MySQL Error??
Code:
[root@askme RPM]# rpm -ivh mysql-server-4.1.20-2.RHEL4.1.i386.rpm |
Is mysql service running?
|
Code:
[root@askme ~]# service mysqld restart |
take a look at mysql error log and post recent content
|
This has to do with the location of your /var/lib/mysql/mysql.sock or the permission of that file and it's directory. I once had a similar problem after mixing/replacing source-built MySQL installations with RPM package based installation. My permission for /var/lib/mysql did not allow access, as such the mysql.sock file was not available.
The cause for your problem could be something else, but it's worth checking those permissions. |
salters is probably right. Take a look who's the owner of /var/lib/mysql by
ls -l /var/lib If it's not owned by mysql then a chown mysql may do |
All times are GMT -5. The time now is 05:52 AM. |