DBeaver同时执行多条插入语句报错
同时执行多行插入语句时报下面的错误
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 'CREATE table t_book(
`id` int primary key auto_increment,
`name` varchar(100),' at line 2
搜了半天发现是DBeaver设置的问题,修改连接配置的驱动属性:allowMultiqueries为true就好了
成功!