Drupal: I cannot connect to the database.. please help

Posted by Patrick on Stack Overflow See other posts from Stack Overflow or by Patrick
Published on 2010-06-06T08:57:58Z Indexed on 2010/06/06 9:02 UTC
Read the original article Hit count: 293

Filed under:
|
|

hi,

I've hard time to make Drupal work on IIS Microsoft server. I've succesfully run Joomla on the same server so I'm pretty sure the following information are correct:

host: localhost
user: user
pass: pass
databaseName = servername_databasename

I've set the following line in settings.php file:

$db_url = 'mysql://user:password@localhost/servername_databasename';

but what I get is this:

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.

I don't get any other error message such as: database doesn't exist, user/pass wrong.. just this.

The database is running, I can access with phpmyadmin.

I've tried both "mysql" and "mysqli". The host is a private server (IIS Microsoft), the database is Mysql

The database and website files upload have also been succesfull.. so I dunno what to do to fix this issue.

thanks

© Stack Overflow or respective owner

Related posts about iis

Related posts about drupal