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

Announcements
Join us in NYC Sept 4th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

[resolved] tMysqlOutput doesn't insert records

Hey everyone, I'm having some trouble using MySQLoutput. It creates a table (Action on table is Create table if does not exist), but it doesn't insert any records neither does it produce errors or rejects. Attached screenshot.
Also have this issue in another job, using input from tBigqueryInput to write to MySQL. Any thoughts?
Thanks,
Jochem
Edit: Looks like my attached file doesn't come through.. Its a pic of the job, mysqlinput processing 100 rows to mysqloutput, 0 rows (Rejects) from output to logrow.
Labels (3)
1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

check whether you have set commit action or not, it may cause such problem. tXXXCommit component to verify.

Fantastic, that was the problem. I assumed a commit was part of the component tMysqlOutput. A tMysqlCommit trigger after the output does indeed insert the rows.
Thanks a bunch!

View solution in original post

3 Replies
Anonymous
Not applicable
Author

check whether you have set commit action or not, it may cause such problem. tXXXCommit component to verify.
Anonymous
Not applicable
Author

check whether you have set commit action or not, it may cause such problem. tXXXCommit component to verify.

Fantastic, that was the problem. I assumed a commit was part of the component tMysqlOutput. A tMysqlCommit trigger after the output does indeed insert the rows.
Thanks a bunch!
Anonymous
Not applicable
Author

This is absolutely what I was missing. Using tMySQLCommit resolved the issue.

One more thing to ponder while implementing tWriteXMLField.

The Output should have only one column namely "XML" of varchar type (of size 255, this can be less as well). If the column is not "XML", Job will finish successfully but there won't be any output stored in MySQL Table.