JDBC驱动

来源:互联网 发布:如何查看域名的ns记录 编辑:程序博客网 时间:2024/06/01 07:37

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 'OPTION SQL_SELECT_LIMIT=50' at line 1

这种情况不是程序出错,是jdbc的驱动不匹配,如果你安装了最新的MySQL就下载最新的jdbc驱动吧。

0 0