同时执行多条语句会报错:Error: ER_PARSE_ERROR: 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 'select found_rows() as total' at line 1
NodeJs 不能同时执行多条Sql语句?
第90篇《NodeJs 不能同时执行多条Sql语句?》来自Winter(https://github.com/aiyld/aiyld.github.io)的站点
共1个回答
相似问题
问题类别
由于Node mysql做了安全的限制,想要执行多条sql语句,需要打开对应开关配置
在配置中添加multipleStatements: true