MySQL server version for the right syntax to use near ';) T' at line 7
2017-06-22 15:24
537 查看
因为不仔细导致出现两次这个异常问题了,特此记录下!!!
check the manual that corresponds to your MySQL server version for the right syntax to use near ‘;) T’ at line 7
2017-06-22 15:15:58 [ERROR][qtp1190820921-24][PageHelper]-[setPageParameter] Ignore this exception com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: 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 ';) T' at line 7 at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:423) at com.mysql.jdbc.Util.handleNewInstance(Util.java:404) at com.mysql.jdbc.Util.getInstance(Util.java:387) at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:939) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3878) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3814) at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2478) at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2625) at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2551) at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1861) at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:1962)
多了一个分号。。。有时候能执行查询成功,有时候不能,我勒个去!
相关文章推荐
- MySQL server version for the right syntax to use near 'type=InnoDB' at line 1
- your MySQL server version for the right syntax to use near 'NULL' at line 1
- MySQL server version for the right syntax to use near 'OPTION SQL_SELECT_LIMIT=DEFAULT' at line 1
- You have an error MySQL server version for the right syntax to use near 'TYPE=InnoDB' at line 20
- MySQL server version for the right syntax to use near 'info where info.stu_id = 1' at line 1
- MySQL server version for the right syntax to use near '-1.stu stu0_' at line 1
- MySQL server version for the right syntax to use near 'type = InnoDB' at line 25
- MySQL server version for the right syntax to use near 'type=InnoDB' at line 1
- MySQL server version for the right syntax to use near 'TYPE=MyISAM'
- mysql报错:MySQL server version for the right syntax to use near type=InnoDB的解决方法
- java MySQL server version for the right syntax to use near
- check the manual that corresponds to your MySQL server version for the right syntax to use near 'oiw
- Hibernate初运行异常---:MySQL server version for the right syntax to use near 'type=InnoDB'
- your MySQL server version for the right syntax to use near 'UNION '
- mysql ignore 不能执行MySQL server version for the right syntax to use near ignore问题
- MySql 执行语句错误 Err] 1064 - 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
- MySQL server version for the right syntax to use near 'OPTION SQL_SELECT_LIMIT=DEFAULT’
- check the manual that corresponds to your MySQL server version for the right syntax to use near '..'
- check the manual that corresponds to your MySQL server version for the right syntax to use near 'USI
- MySQL server version for the right syntax to use near ‘USING BTREE