现象描述:报错You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'show databases' at line 1
原因剖析:默认禁止多query执行
解决方案:在连接mysql时候添加allowMultiQueries=true配置