Warning: mysql_connect() [function.mysql-connect]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home2/moviespk/public_html/inc/config/conn.php on line 6

Warning: mysql_select_db() expects parameter 2 to be resource, boolean given in /home2/moviespk/public_html/inc/config/conn.php on line 7

Warning: mysql_query() [function.mysql-query]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home2/moviespk/public_html/inc/classes/queries.class.php on line 16

Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /home2/moviespk/public_html/inc/classes/queries.class.php on line 16
Error at line: 2002 : Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)

SqlSELECT c_key, c_value FROM i_config