SAP Knowledge Base Article - Public

1218957 - Error: "JDBC Error: Syntax error or access violation..." when connecting to MySQL


When viewing a report in a Java Reporting Component XI application that connects to a MySQL datasource through JDBC, the following error message appears:

"JDBC Error: Syntax error or access violation, message from server: '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 '.`dt_bigint` `dt_bigint`' at line 1'".


The issue has been identified and tracked under ID ADAPT00419399.


Hot Fixes or Service Packs address this issue as indicated below. With the update(s), this issue is resolved.

Unless indicated otherwise, Weekly Hot Fix updates from the FTP site have only been tested with English versions of our products.



Hot Fixes and Service Packs are not designed for OEM versions. Do not apply these updates if you are using an OEM version. To determine if you are using an OEM version, refer to the OEM Product Warning.


Crystal Reports XI


For Crystal Reports XI, the latest update for this issue is available on the Downloads area of our web site.

This issue is addressed in the following components (and later versions):

  • serialization.jar, dated 5/11/2005 (
  • rascore.jar, dated 5/11/2005 (
  • rasapp.jar, dated 5/11/2005 (
  • MetafileRenderer.jar, dated 5/11/2005 (
  • log4j.jar, dated 5/12/2004 (
  • jrcerom.jar, dated 5/11/2005 (
  • CrystalReportingCommon.jar, dated 5/11/2005 (
  • CrystalExportingBase.jar, dated 5/11/2005 (
  • CrystalContentModels.jar, dated 5/11/2005 (
  • CrystalCharting.jar, dated 5/11/2005 (
  • CrystalCommon.jar, dated 5/11/2005 (
  • CrystalFormulas.jar, dated 5/11/2005 (
  • CrystalQueryEngine.jar, dated 5/11/2005 (
  • CrystalReportEngine.jar, dated 5/11/2005 (
  • keycodeDecoder.jar, dated 5/11/2005 (
  • rpoifs.jar, dated 5/11/2005 (


Monthly Hot Fixes and Service Packs


To determine if this issue is also addressed in a Monthly Hot Fix or Service Pack for your product, search the readme file for the Track ID number (that is, ADAPTXXXXXXXX) in the latest Monthly Hot Fix or Service Pack.

Monthly Hot Fixes readmes and Service Pack readmes are available in the Downloads area of our web site.



Issues addressed on one operating system platform at the Weekly Hot Fix level may be addressed later on multiple operating system platforms (if applicable) at the Monthly Hot Fix and Service Packs level. For example, an issue only resolved on the Windows platform in a Weekly Hot Fix may be resolved later on UNIX platforms such as IBM AIX and Sun Solaris in future Monthly Hot Fixes or Service Packs for these platforms.

To determine if these issues are resolved in a Monthly Hot Fix or Service Pack on another platform, search for the Track ID number in the readme at the locations indicated above.

See Also

For more information on the issues addressed in the Hot Fix or Service Pack, view the readme PDF or text file included in the ZIP or TAR file.

For more information on the different update types, refer to our Hot Fix and Service Pack FAQ.


WHF 419399 MYSQL JDBC JRC ERROR MESSAGE JAVA REPORTING COMPONENT Crystal Reports JDBC connection to MySQL datasource Java Reporting Component , c2017714 , KBA , BI-RA-CR , Crystal Reports designer or Business View Manager , Bug Filed


SAP Crystal Reports XI ; SAP Crystal Reports XI R2