|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Mysql fails with Can't connect to local MySQL server through socket '/var/lib/mysql/m
Ok, my mysql is failing with the error:
Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (13) I've tried all of the usual fixes, but can't seem to get anything to work. Here is what I have tried. 1. Tried to reset the root mysql password. 2. Did a /scripts/mysqlup --force 3. Did the following: cd /var/lib/mysql touch mysql.sock chown mysql:mysql mysql.sock chmod 1777 mysql.sock now make a sym link into /tmp ln -s /var/lib/mysql/mysql.sock /tmp then chmod 1777 /tmp now /scripts/mysqlup --force now just restart mysql /etc/rc.d/init.d/mysql restart None of which seem to work..... Does it look like I missed anything? Any ideas? |
![]() |
| Thread Tools | |
| Display Modes | |
|
|