Warning: mysql_connect() [function.mysql-connect]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in /usr/local/apache/htdocs/mpic_web/th/connect.php on line 4

Warning: mysql_query() [function.mysql-query]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in /usr/local/apache/htdocs/mpic_web/th/connect.php on line 5

Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /usr/local/apache/htdocs/mpic_web/th/connect.php on line 5

Warning: mysql_select_db(): supplied argument is not a valid MySQL-Link resource in /usr/local/apache/htdocs/mpic_web/th/connect.php on line 6

Warning: mysql_query() [function.mysql-query]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in /usr/local/apache/htdocs/mpic_web/th/movie/movie.php on line 6

Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /usr/local/apache/htdocs/mpic_web/th/movie/movie.php on line 6
Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)