Warning: Wrong parameter count for mysql_connect() in c:\apache\htdocs\drupal\includes\database.mysql.inc on line 31
Having just installed the latest Drupal, I get the above error message when attempting to load the index page.
In settings.php I have the following (password xxxed out):
$db_url = 'mysql://drupal:password@localhost/drupal';
$db_prefix = '';
And the 31st line in database.mysql.inc file is
$connection = mysql_connect($url['host'], $url['user'], $url['pass'], TRUE) or die(mysql_error());
So, What might I be doing wrong?