add database connection and set config in database