We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

using an external database | Forum

Topic location: Forum home » Support » General Questions
Joseph May 14 '12
so I have read up on this but I wanted to get a last minute suggestion from oxwall I am planning on using an external database so how should my config.php file look for the db section? and how do I find the route to a certain database on my db server?
Mark May 15 '12
in the config.php change the following

define('OW_DB_HOST', 'localhost');

change localhost to the IP of where the new mysql database can be found

define('OW_DB_PORT', null);

change this to the port number used by mysql (i think this only needs to be changed if its has been changed from the default)

The Forum post is edited by Mark May 15 '12
Joseph May 15 '12
awesome thanks mark I will let you know how testing goes on this