Set databas connection settings