Data Base configuration to config file