My friend have a phpbb forum and he want use the database from an external host. (from a second host server). We can move this database to his host server but We don't want this. If I want to use 3rd party database, how I'm going to do it? I want to connect to the database from the other host server Anyone know how to? Thanks.
In the database connect string, instead of putting "localhost", type the IP address of the external DB server. Make sure MySQL is configured to handle remote connections. Be aware that using an external server will slow down your site.
The database on the external host that I want to connect to is a "localhost". What is the ip of it? how am I going to find it. and what port should I use? Thanks
If it's mysql, it's probably running on port 3306. This is the default install port. "localhost" means local to that computer; other servers will need to know its IP address. Put a php file on that external host with "phpinfo();" as the contents of the file, and run it. It will tell you all sorts of info about it.
I ran it, it tell all sorts of info, but doesn't tell the ip there I will find a way to find it Thank you for your answers. very helpful