Fix db name parse issue from last commit
Simplified DB ConfigureFromEnv adapter hook