I installed drupal manually last night, finished w/ no errors. This morning I logged in to finish config and as soon as I completed the step asking me to copy /sites/default/default.settings.php to sites/default/settings.php, the site immediately threw the following error and won't let me continue with install/config:
The mysql error was: Access denied for user 'pubdbad'@'localhost' (using password: YES).

The thing is, I've already changed my DB settings in default.settings.php (before I even copied it to settings.php), and I DID NOT specify a password of "YES". As an experiment I tried changing my chosen password to "YES" in settings.php, but it doesn't make any difference. I also tried creating a new user account for the DB with the same username but password "YES" and that also made no difference.

What's going on here? Why does drupal think my password is "YES", and how can I force it to recognize my real password?

Comments

publetariat’s picture

DB authentication is working now, but when I go to index.php I get many DB errors.

UPDATE - trying to continue w/ install by running install.php instead of index.php, hoping DB errors will be resolved in DB setup steps.

UPDATE - after run of install.php was finished, errors disappeared. I think the install instructions really ought to specifically mention the fact that you must be working with install.php and NOT index.php. It wasn't at all clear to me.

Anonymous’s picture

I believe the manual is fairly clear in that regard. Just point your browser to the base dir of the install.

http://drupal.org/getting-started/6/install/run-script

To run the install script point your browser to the base URL of your website.

The base URL is defined in your Web server configuration file and is specific to the document root where you placed your Drupal files. If you have installed Drupal on a Web server this will likely be a domain name such as http://example.com. If you have installed Drupal on your desktop machine this URL might be http://localhost.

----------
SunriseWebDevelopment.com

scoutbaker’s picture

I think the issue here is that you didn't need to edit the default.settings.php file. All you needed to do for a new install of drupal is make a copy of it named settings.php. Then the install process will prompt you for the appropriate information.

One of the changes to D6 is that you don't have to specifically run install.php. Index.php can redirect as appropriate. If this wasn't working, it again points to something in your edits. It might be interesting to look at the install and see if there's some way to edit settings.php that causes a logic error like this, but I don't have time right now.

Short answer: Don't edit settings.php for a totally new install. Let the Drupal installer take care of it for you.

---
"Nice to meet you Rose...run for your life." - The Doctor
My first public Drupal site - EyeOnThe503

profjk’s picture

subscribing