I am migrating drupal from old hosting server to a new one. Must set $db_url = 'mysql://username:password@localhost/databasename'; in setting.php. I am running only from the web server. How to a determine the localhost? Thanks.

Comments

doka’s picture

ask your host provider for all the connection parameters, like username, password, db host and db name. Or if you are useing your own local server, 'localhost' could work as well.

Doka

SDM-MINK’s picture

Thanks a bunch!

romeys’s picture

What file is this located in?
I also switched hosts and my moduel stopped working. I dont know what file to change host info in?