Unknown database ‘database_name’ in MySQL with WAMPServer

I already have my database named als and I still got the error.

<?php

$mysql_host='localhost';
$mysql_user='root';
$mysql_password='';
$mysql_db='als';
$con = @mysql_connect($mysql_host,$mysql_user,$mysql_password) or             die(mysql_error());
@mysql_select_db($mysql_db) or die(mysql_error());

?>


Source: wampserver

Leave a Reply