It seems like there are a few other posts on here with similar errors but none help. When I try to connect to mysql from a php webpage I get the following error:
Both httpd and mysqld are running on the same server and running through local host. /var/lib/mysql/mysql.sock is present and I have tried restarting mysql
As an aside, I have moved the base directory and have a symbolic link to the new directory.
Code:
Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (13)
As an aside, I have moved the base directory and have a symbolic link to the new directory.