working on database to server connection