selectDatabase needs to be done even without password set