Page 1 of 1

How to change IP address of SQL database??

Posted: Wed Aug 03, 2005 2:25 pm
by tplowe
My host is changing the IP address where my SQL database resides. How do I change this? The only place I saw this as an option was on the install.

Posted: Wed Aug 03, 2005 2:57 pm
by Freestyle XL
Edit it in config.php

Posted: Wed Aug 03, 2005 3:08 pm
by tplowe
The config.php file has references to the database "name" but it has no references to the actual IP address of the server & the port. This data is input when you install or update phpbb.

I know I could change it with a reinstall but I'm thinking there must be an easier way.

Posted: Wed Aug 03, 2005 4:02 pm
by n529834
In config.php

Code: Select all

$dbhost = 'localhost';
replace localhost with IP