Warning: mysql_connect() [function.mysql-connect]: Can't connect to MySQL server on 'mysql' (2) in /inc/db.php on line 18

Warning: mysql_select_db() expects parameter 2 to be resource, boolean given in /inc/db.php on line 19
Can't connect to MySQL server on 'mysql' (2)