Database connection parameters from config file

Edited the configuration file to read parameters of database connection