setup database and mysql driver