Warning: mysql_connect() [function.mysql-connect]: Unknown MySQL server host 'db' (2) in /project/includes/Sql2/lib/connection/mysql_connection.php on line 31

Fatal error: Uncaught exception 'ML_SqlException' with message 'Can't open database: Unknown MySQL server host 'db' (2)' in /project/includes/Sql2/lib/connection/mysql_connection.php:33 Stack trace: #0 /project/includes/Sql2/lib/connection/mysql_connection.php(56): ML_MysqlConnection->connect() #1 /project/includes/Sql2/lib/connection/connection.php(130): ML_MysqlConnection->escape('231') #2 /project/includes/Sql2/lib/connection/connection.php(115): ML_Connection->buildSql('SELECT * FROM c...', Array) #3 /project/includes/Sql2/lib/connection/connection.php(105): ML_Connection->addToDebug('SELECT * FROM c...', Array) #4 /project/includes/Sql2/lib/connection/mysql_connection.php(82): ML_Connection->query('SELECT * FROM c...', Array) #5 /project/includes/Sql2/lib/connection/mysql_cache_connection.php(23): ML_MysqlConnection->query('SELECT * FROM c...', Array) #6 /project/includes/Sql2/lib/sql.php(49): ML_MysqlCacheConnection->query('SELECT * FROM c...', Array) #7 /project/includes/Sql2/cache_sql.php(71): ML_Sql->get('SELECT in /project/includes/Sql2/lib/connection/mysql_connection.php on line 33