MySQL makes troubles: access denied

Neena - November 7, 2009 - 09:36

I am new here and new with Drupal and I am not getting along very well. For almost three days I try to install Drupal 6 on Ubuntu 9.04. There are plenty of comments about this topic in the internet but none of the solutions given there helped me to get any further. So I am asking you!

Whatever I try i get the same message on my localhost:
Failed to connect to your MySQL database server. MySQL reports the following message: Access denied for user 'neena'@'localhost' (using password: YES).

* Are you sure you have the correct username and password?
* Are you sure that you have typed the correct database hostname?
* Are you sure that the database server is running?

For more help, see the Installation and upgrading handbook. If you are unsure what these terms mean you should probably contact your hosting provider.

I restarted the server, I reinstalled the programs, I checked and double checked the passwords as well as the configuration files and now I have no more idea...

How did you install drupal?

bigvortex - November 7, 2009 - 14:33

How did you install drupal? I did it through the synaptic package manager. That found all the dependencies (PHP5, Mysql, apache2) and set them all up. That part was very painless for me.

double-check again :-)

dejabobbi - November 9, 2009 - 04:32

I have very little database experience, and ran into the same problem you seem to be having. My problem turned out to be that I had the database name wrong.

I was typing in the name that I had given the database, but the actual name was name_name instead of just name.

 
 

Drupal is a registered trademark of Dries Buytaert.