com.alibaba.druid.sql.parser.ParserException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • navicat 工具连接查询报错?
    via GitHub by aiaix
    ,
  • GitHub comment 1559#269252107
    via GitHub by jiangchengshi
    ,
    • com.alibaba.druid.sql.parser.ParserException: not support token:LITERAL_INT at com.alibaba.druid.sql.parser.SQLExprParser.methodRest(SQLExprParser.java:799)[druid-1.0.21.jar:1.0.21] at com.alibaba.druid.sql.parser.SQLExprParser.primaryRest(SQLExprParser.java:751)[druid-1.0.21.jar:1.0.21] at com.alibaba.druid.sql.dialect.mysql.parser.MySqlExprParser.primaryRest(MySqlExprParser.java:481)[druid-1.0.21.jar:1.0.21] at com.alibaba.druid.sql.dialect.mysql.parser.MySqlExprParser.primary(MySqlExprParser.java:132)[druid-1.0.21.jar:1.0.21] at com.alibaba.druid.sql.parser.SQLExprParser.expr(SQLExprParser.java:124)[druid-1.0.21.jar:1.0.21] at com.alibaba.druid.sql.dialect.mysql.parser.MySqlCreateTableParser.parseConstraint(MySqlCreateTableParser.java:787)[druid-1.0.21.jar:1.0.21] at com.alibaba.druid.sql.dialect.mysql.parser.MySqlCreateTableParser.parseCrateTable(MySqlCreateTableParser.java:157)[druid-1.0.21.jar:1.0.21] at com.alibaba.druid.sql.dialect.mysql.parser.MySqlStatementParser.parseCreate(MySqlStatementParser.java:340)[druid-1.0.21.jar:1.0.21] at com.alibaba.druid.sql.parser.SQLStatementParser.parseStatementList(SQLStatementParser.java:190)[druid-1.0.21.jar:1.0.21] at com.alibaba.druid.sql.parser.SQLStatementParser.parseStatement(SQLStatementParser.java:1974)[druid-1.0.21.jar:1.0.21]
    No Bugmate found.