Changing from sqllite3 to mysql drivers
Changes to make it work with MySql