Update lib/driver/mysql.js

changed str -> spec.type as str doesn't exist in this function.
Merge pull request #67 from swang/patch-1

Update error message for invalid data type.