Warning: mysqli_error() [function.mysqli-error]: invalid object or resource mysqli in /home/clofr/public_html/includes/database.mysqli.inc on line 89

Warning: Cannot modify header information - headers already sent by (output started at /home/clofr/public_html/includes/database.mysqli.inc:89) in /home/clofr/public_html/includes/common.inc on line 141
Unable to connect to database server

If you still have to install Drupal, proceed to the installation page.

If you have already finished installing Drupal, this either means that the username and password information in your settings.php file is incorrect or that we can't connect to the MySQL database server. This could mean your hosting provider's database server is down.

The MySQL error was: .

Currently, the username is clofr_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?
* Are you sure that the mysqli libraries are compiled in your PHP installation? Try using the mysql library instead by editing your settings.php configuration file in Drupal.

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

Comments

zeta ζ’s picture

Does your installation of MySQL provide mysqli or mysql databases? Can you try using mysql?

What versions of MySQL and Drupal are you using?
___________________
It’s in the detaιls…

Spooks-1’s picture

my host does the MYSQL database. I'm installing 5.7. For some reason it wont let me install the settings.php. Says it's already in there and it wont let me delete the old one

zeta ζ’s picture

It is protected. You will need to use cPanel or an FTP client to delete / replace it.
___________________
It’s in the detaιls…