Change database key to dbname. Add driver.