Mysql queries should be escaped before being sent to 'mysql'. I found out the ` character (common in mySQL scripts to identify table and column names) has to be escaped (\`) or it fails. Sorry if this is not the right place to ask... but I'm working on that bundle and have no clue how to fix that issue.