First time for me to install Drupal 7, yet have installed lits of Drupal 6.
I have done all by the book exept in Drupal 6 I used to add the DB name & username to the settings.php file before and on the Drupal 7 settings.php file I can't find the way to change this.

So the Error I get whike installing is when entering the DB name & username:

Failed to connect to your database server. The server reports the following message: SQLSTATE[28000] [1045] Access denied for user 'tikkecoi_amir'@'localhost' (using password: YES).

What am I missing here?

Comments

Crell’s picture

Component: database system » install system
Assigned: amirtaiar » Unassigned

You shouldn't be adding your DB credentials manually. You should be just copying default.settings.php to settings.php, giving PHP access to write to it, and let the installer take it from there.

This doesn't look like a DB error per se but an install system support question, so refiling.

Scott McCabe’s picture

fwiw,

I just tried installing Drupal 7 beta 1, and ran into the exact same error (except for a different username, of course).

I created a new password for the user in MySQL, and thought it took.

During troubleshooting, I tested another D7 site I have using the same username, but the old password, and the site was working fine.

When I changed the beta 1 site to the old password, the install worked fine.

amirtaiar’s picture

The issue was MySql5 suppurt witch I don't have at this curent host co.

Crell’s picture

Status: Active » Closed (cannot reproduce)

Sounds like this is just a MySQL / host configuration issue, not a Drupal issue. Scott, if you can narrow down a reproducable Drupal issue please reopen this ticket.