I cannot connect to database from Drupal
- by Patrick
hi,
I've uploaded my drupal website (and related database) to my new server.
The database info is:
host: localhost
user: user
pass: pass
databaseName = database_name
I've set the following line in settings.php file:
$db_url = 'mysqli://user:password@localhost/database_name';
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 guess the database is running, it always run and I can access with phpmyadmin so I think the problem is not there.
The database and website files upload have also been succesfull.. so I dunno what to do to fix this issue.
It is mysql on IIS Server
thanks