Error code 1064, SQL state 42000: You have an error in your SQL syntax;

后端 未结 6 1002
囚心锁ツ
囚心锁ツ 2021-02-02 10:04

I\'m using latest version of MySQL ==> mysql-5.6.10-winx64.zip

Created the database and every thing is ok \'I think\' when I try to execute this simple command;

6条回答
  •  旧巷少年郎
    2021-02-02 10:08

    I had the same problem few weeks back. Followed the following steps and it very much resolved the issue.

    1. Copied the latest version (mysql-connector-java-5.1.23-bin) of the jar file to ..\NetBeans 7.3\ide\modules\ext. My earlier version of the driver was mysql-connector-java-5.1.18-bin.

    2. Change the driver version within NetBeans IDE. In the IDE's Services window, expand Drivers -> right-click on MySQL (Connector/J driver) and select Customize. Remove the earlier driver and point it to the latest one (C:\Program Files (x86)\NetBeans 7.3\ide\modules\ext\mysql-connector-java-5.1.23-bin.jar). Click ok and restart IDE.

    This should resolve the problem.

提交回复
热议问题