Could not save PLC output data from mqtt node to MySQL

It is interesting that the only SQL @Sobri has shown us inserts empty strings in every field yet the phpMyAdmin screendump shows zero in every field apart from '$ProductName' in ProductName.
I don't believe that the SQL shown can possibly create the records shown. I would expect an SQL error attempting to write a string to a numeric field.

@Sobri: I suggest that you create a new data table with just a few fields and a simple flow to insert records.
If you still get problems you have to share the flow, the input data, the database schema and the records created. Then there is a chance we might be able to help you fix it.