Prueba con asi:
Código PHP:
$dbhost="localhost"; //Host/IP from the MySQL Database
$dbuser="root"; //Username to the MySQL Database
$dbpass=""; //Passwort to the MySQL Database
$sql=MYSQL_CONNECT($dbhost,$dbuser,$dbpass) or die ("ERROR");
$db=mysql_query("CREATE DATABASE base2");
deberia funcionar asi