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
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  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

    setup.sh: MySQLSyntaxErrorException - DROP DATABASE ${database}

    GitHub | 2 years ago | gallardo
    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 '{database}' at line 1
  6. 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

  1. Hronom 3 times, last 3 months ago
  2. Kialandei 1 times, last 4 months ago
  3. tvrmsmith 6 times, last 4 months ago
  4. davidvanlaatum 4 times, last 6 months ago
  5. qoomon 1 times, last 7 months ago
25 more registered users
70 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