Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

MYSQL

Hi guys!

I am using Talend for integrating MySQL  DB connection for importing the excel data.

Scenario...

I have two excel file and I want to import both excel file data in my MYSQL database.

when I run the job it showing the error bellow-

 

Sun Mar 15 22:19:36 PDT 2020 WARN: Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection must be established by default if explicit option isn't set. For compliance with existing applications not using SSL the verifyServerCertificate property is set to 'false'. You need either to explicitly disable SSL by setting useSSL=false, or set useSSL=true and provide truststore for server certificate verification.
Exception in component tDBConnection_1 (DBFirstConnection)
java.sql.SQLException: Access denied for user ''@'localhost' (using password: NO)
at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:129)
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.ConnectionImpl.createNewIO(ConnectionImpl.java:832)
at com.mysql.cj.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:456)
at com.mysql.cj.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:240)
at com.mysql.cj.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:207)
at java.sql.DriverManager.getConnection(Unknown Source)
at java.sql.DriverManager.getConnection(Unknown Source)
at zoxima.dbfirstconnection_0_1.DBFirstConnection.tDBConnection_1Process(DBFirstConnection.java:3679)
at zoxima.dbfirstconnection_0_1.DBFirstConnection.tPrejob_1Process(DBFirstConnection.java:3586)
at zoxima.dbfirstconnection_0_1.DBFirstConnection.runJobInTOS(DBFirstConnection.java:3967)
at zoxima.dbfirstconnection_0_1.DBFirstConnection.main(DBFirstConnection.java:3819)
Exception in component tDBOutput_1 (DBFirstConnection)
java.lang.NullPointerException
at zoxima.dbfirstconnection_0_1.DBFirstConnection.tFileInputExcel_1Process(DBFirstConnection.java:1345)
at zoxima.dbfirstconnection_0_1.DBFirstConnection.runJobInTOS(DBFirstConnection.java:3982)
at zoxima.dbfirstconnection_0_1.DBFirstConnection.main(DBFirstConnection.java:3819)
[statistics] disconnected

 

I am using MYSQL  8.0.19 version.

 

how can I resolve this problem? 

please help ASAP.

 

Labels (3)
2 Replies
manodwhb
Champion II
Champion II

Which version of Talend are you using? and it is saying that Access denied,are you sure right credentials?
marceloveras
Contributor II
Contributor II

Note that you are receiving : Access denied for user ''@'localhost' (using password: NO)

 

You are facing permission issues. 

 

Try to create a new user in your mysql database with oermission to @'%' and set this user in your tDBInput

 

Regards,

 

Marcelo Veras