Warning: mysql_connect(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/ppc/www-home/flede/mysql.php on line 17

Error: Can't connect to database server localhost
SQL = CONNECT
2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
File: /home/ppc/www-home/flede/mysql.php
Line: 18