set the db to env variable