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 '?-- SQL Manager 2007 for MySQL 4.2.0.2 SET FOREIGN_KEY_CHECKS=0' at line 1

ant-user | mtbvang | 7 years ago
  1. 0

    SQl task error - A ? placed at beginning of lines of sql file

    ant-user | 7 years ago | mtbvang
    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 '?-- SQL Manager 2007 for MySQL 4.2.0.2 SET FOREIGN_KEY_CHECKS=0' at line 1
  2. 0

    Re: SQl task error - A ? placed at beginning of lines of sql file

    ant-user | 7 years ago | mtbvang
    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 '?-- SQL Manager 2007 for MySQL 4.2.0.2 INSERT INTO `certifications` (`certifi' at line 1
  3. 0

    Duplicate Upgrade Query in 3.1

    GitHub | 2 years ago | jtesser
    com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Duplicate column name 'language_id'
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Sql syntax error running clean mysql instance

    GitHub | 5 years ago | jgambarios
    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 '0) not null, log_name varchar(30) not null, description varchar(50) n' at line 2
  6. 0

    Add 'show' to reserved MySQL keywords in mapper

    GitHub | 6 years ago | lkuczera
    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 'show BOOLEAN , description LONGTEXT) ENGINE = InnoDB' at line 1

  1. Kialandei 1 times, last 2 weeks ago
  2. tvrmsmith 6 times, last 3 weeks ago
  3. davidvanlaatum 4 times, last 2 months ago
  4. tvrmsmith 1 times, last 3 months ago
  5. qoomon 1 times, last 4 months ago
27 more registered users
62 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. 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 '?-- SQL Manager 2007 for MySQL 4.2.0.2 SET FOREIGN_KEY_CHECKS=0' at line 1

    at sun.reflect.NativeConstructorAccessorImpl.newInstance0()
  2. Java RT
    Constructor.newInstance
    1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    4. java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    4 frames
  3. MySQL jdbc
    StatementImpl.execute
    1. com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
    2. com.mysql.jdbc.Util.getInstance(Util.java:381)
    3. com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1030)
    4. com.mysql.jdbc.SQLError.createSQLException(SQLError.java:956)
    5. com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3558)
    6. com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3490)
    7. com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1959)
    8. com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2109)
    9. com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2642)
    10. com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2571)
    11. com.mysql.jdbc.StatementImpl.execute(StatementImpl.java:782)
    12. com.mysql.jdbc.StatementImpl.execute(StatementImpl.java:625)
    12 frames
  4. Ant
    SQLExec.runStatements
    1. org.apache.tools.ant.taskdefs.SQLExec.execSQL(SQLExec.java:565)
    2. org.apache.tools.ant.taskdefs.SQLExec.runStatements(SQLExec.java:535)
    2 frames