echo "Detailed error: " . mysql_error ; Error displaying the error page: Application Instantiation Error: Could not connect to MySQL.