Hi all,
I found some people having problem to locate the mysqlsock file. If your mysql place the mysql.sock file in /var/lib/mysql/mysql.sock and your script is looking for the mysql.sock file at /tmp, you can try the following steps in order to solve the problem :-).
Goto /tmp and type the following command
ln -s /var/lib/mysql/mysql.sock mysql.sock
That will create a symbolic link from /tmp/mysql.sock to /var/lib/mysql/mysql.sock and will correct the problem.
I found some people having problem to locate the mysqlsock file. If your mysql place the mysql.sock file in /var/lib/mysql/mysql.sock and your script is looking for the mysql.sock file at /tmp, you can try the following steps in order to solve the problem :-).
Goto /tmp and type the following command
ln -s /var/lib/mysql/mysql.sock mysql.sock
That will create a symbolic link from /tmp/mysql.sock to /var/lib/mysql/mysql.sock and will correct the problem.