Hi,
I am currently making a new website with Drupal, but I do not have a great amount of knowledge about certain details. A little while ago, my site stopped working completely. The database appears to still exist, but when I go to my website, I get the following Drupal error (replaced my username and the ip address it shows in there):

Site off-line

The site is currently not available due to technical problems. Please try again later. Thank you for your understanding.

If you are the maintainer of this site, please check your database settings in the settings.php file and ensure that your hosting provider's database server is running. For more help, see the handbook, or contact your hosting provider.

The mysqli error was: Access denied for user '[username]'@'[ip address]' (using password: YES).

I understand this problem may be too vague, or maybe not so simple, but just in case someone might know what could be wrong, and where to look for a possible fix, that would help a lot.

Comments

stevenc’s picture

Can you use the same credentials in your settings.php file to connect to the database manually, via phpMyAdmin or the MySQL GUI software (or another mechanism)?

If you can connect, there is an issue with the web server running Drupal connecting to the MySQL server (with hosting companies they are typically separate physical machines).

If you can't connect, then something may have happened with your MySQL account - changed permissions or security settings.

One you know if you can or can't connect, call your hosting provider's technical support with this information and ask their help. Basically, this isn't a Drupal issue, per se, it's more of an environment/configuration/security issue at your host.

---------------------------------
Steven Wright

Slalom