For a master slave database configuration, the only thing you need to do is add an additional configuration option when connecting.