Warning: mysql_connect() [function.mysql-connect]: [2002] No such file or directory (trying to connect via unix:///tmp/mysql.sock) in /home/user/new/class/global.inc on line 20

Warning: mysql_connect() [function.mysql-connect]: No such file or directory in /home/user/new/class/global.inc on line 20