Exception in component tDBOutputBulkExec_1_tMBE (Mysql)

Highlighted
Six Stars

Exception in component tDBOutputBulkExec_1_tMBE (Mysql)

Hello,

 

i charged the data with tmysqloutputBulkExec, in the end of execution the job i have this error:

Exception in component tDBOutputBulkExec_1_tMBE (DSA__Acquisition_poule_competition_penalite_forfait)
java.sql.SQLSyntaxErrorException: The used command is not allowed with this MySQL version
	at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120)
	at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97)
	at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122)
	at com.mysql.cj.jdbc.StatementImpl.executeInternal(StatementImpl.java:781)
	at com.mysql.cj.jdbc.StatementImpl.execute(StatementImpl.java:666)
	at local_project.dsa__acquisition_poule_competition_penalite_forfait_0_1.DSA__Acquisition_poule_competition_penalite_forfait.tDBInput_1Process(DSA__Acquisition_poule_competition_penalite_forfait.java:2443)
	at local_project.dsa__acquisition_poule_competition_penalite_forfait_0_1.DSA__Acquisition_poule_competition_penalite_forfait.runJobInTOS(DSA__Acquisition_poule_competition_penalite_forfait.java:5318)
	at local_project.dsa__acquisition_poule_competition_penalite_forfait_0_1.DSA__Acquisition_poule_competition_penalite_forfait.main(DSA__Acquisition_poule_competition_penalite_forfait.java:4919)

any Help please?

Moderator

Re: Exception in component tDBOutputBulkExec_1_tMBE (Mysql)

Hello,

Are you using load data local infile command? What's MySql DB version are you using? It seems MySql 5.1 or higher one will be able to support that.

Best regards

Sabrina

--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Best Practices for Using Context Variables with Talend – Part 1

Learn how to do cool things with Context Variables

Blog

Migrate Data from one Database to another with one Job using the Dynamic Schema

Find out how to migrate from one database to another using the Dynamic schema

Blog

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog