【发布时间】:2018-12-24 13:50:45
【问题描述】:
我为 mariadb 10.1 做了 sql 查询
但是,我将mariadb 10.1升级到10.3,却出现ER_PARSE_ERROR和SQL语法错误。
这个错误是:
code: 'ER_PARSE_ERROR',
errno: 1064,
sqlMessage:
'You have an error in your SQL syntax; check the manual that
corresponds to your MariaDB server version for the right syntax to
use near \')\' at line 1',
sqlState: '42000',
index: 0,
sql: 'select * from user where identifier in ()' }
怎么了?
我一直在寻找,但我不知道出了什么问题。
【问题讨论】:
-
您的代码中有此错误吗?还是在升级处理中?