dbconfig function renamed to db_config