Hi out there,

I just wanted to upgrade Drupal from 4.7RC2 or 4.7RC3 [I don't realy know :-(] to 4.7 stable....
But after removing all data und getting the new code, copying the settings.php back, upgrade.php doesn't work....
Also the login page and nothing else....
Everytime drupal says: can't connect to the database... But the settings are correct!!!!
Is there an idea of what is wrong?

Comments

yogayak’s picture

I'm having the same problem, the error reads:

Unable to connect to database server

This either means that the username and password information in your settings.php file is incorrect or we can't contact the MySQL database server. This could mean your hosting provider's database server is down.

The MySQL error was: Access denied for user 'drupal'@'localhost' (using password: YES).

Currently, the username is drupal and the database server is localhost.

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

****

the error is coming up on http://www.yogayak.com/drupal

love and light

Taran’s picture

It's easy to modify a file and upload the wrong one. I have done THAT before... but also check your database with your host. You might be having a problem with connectivity to your database that is unrelated to Drupal.

KnowProSE.com
OpenDepth.com

yogayak’s picture

I checked my settings and found the error.

sushiGer’s picture

Can you tell we which error it was? Because I also checked my settings and found no error :-(

sepeck’s picture

Either the php was not configured with the proper MySQL support [run phpinfio() to check] o rmore likely he was running MySQL 4.1 or higher and needed to set the database to OLD_PASSWORD format.
http://drupal.org/node/35226

-Steven Peck
---------
Test site, always start with a test site.
Drupal Best Practices Guide -|- Black Mountain

-Steven Peck
---------
Test site, always start with a test site.
Drupal Best Practices Guide

sushiGer’s picture

OK i don't know why, but in the new version, the old password didn't work...
I changed it in the system and now it works.