Posted by garry_bs on July 1, 2006 at 5:33am
I have completed Drupal test installation . After the installation I get the following error.
ERROR
Notice: Undefined index: pass in e:\program files\easyphp\www\drupal\includes\database.mysql.inc on line 37
I am unable to proceed as I am new to Drupal. I shall be grateful if someone could help resolve the problem.
Garry
Comments
I had this happen when I was setting up...
I had this happen when I was trying to use a local development database user without a password. My settings.php file had a line like this:
$db_url = 'mysql://drupal:@localhost/drupal';and:
$db_url = 'mysql://drupal@localhost/drupal';Both forms caused this error message.
My quick and dirty solution was to set up a password for the mysql user, and modify the $db_url line:
$db_url = 'mysql://drupal:some_password@localhost/drupal';Fixed!
Oh, yeah, this was on a windows xp system with Instant Rails 1.3 (which includes MySql, Apache, and PHP versions.) It appears that you are using a windows system as well, from your error message above.
Michael Curry
Exodus Development - TwoGrunts.com - RubyPowered - RoadCarvin'
I had the exact same problem
I had the exact same problem using InstantRails, and the built-in passwordless root on my local machine. Perhaps it's a good idea to add to the install instructions a line such as: "Caution: you cannot use blank passwords" in the install.mysql.txt instructions.