I cannot connect to database from Drupal
Posted
by Patrick
on Server Fault
See other posts from Server Fault
or by Patrick
Published on 2010-06-02T12:21:21Z
Indexed on
2010/06/02
12:26 UTC
Read the original article
Hit count: 231
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
© Server Fault or respective owner