Put database host and port in configuration file.