Just before starting db connexion