database updated for using mysql driver