Warning: mysql_connect() [function.mysql-connect]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/art4god/public_html/html/content/shop/lib/dblib.php on line 12

Can't connect to localhost as art4god_user . .

MySQL Error: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)

This script cannot continue, terminating.
Warning: Unknown: Your script possibly relies on a session side-effect which existed until PHP 4.2.3. Please be advised that the session extension does not consider global variables as a source of data, unless register_globals is enabled. You can disable this functionality and this warning by setting session.bug_compat_42 or session.bug_compat_warn to off, respectively in Unknown on line 0