Added better error handling for MySQL
MySQL queries weren't piping correctly to MySQL daemon, resulting in false errors when special characters were in the query, and mysql error message wouldn't show
Added JQ for new DSN handling