Heloo sir,
I am trying to load data into mysql database in the fo;;owing process
universaldatawriter---->simplecopy----->mysqldatawriter.
When i am trying to validate the connection, it is showing “communication link failed”.
How can we make connection to mysql database incloverETL, here which driver has to use.
i am getting following error while executing the graph.
INFO [main] - DBConnection driver[org.jetel.connection.jdbc.driver.JdbcDriver@102799c]:jndi[null]:url[jdbc:mysql://hostname:3306/etlproject]:user[root] … OK
INFO [main] - [Clover] Initializing phase: 0
ERROR [main] - Error during graph initialization !
Element [1297752681500:SimpleLoad]-Phase 0 can’t be initilized.
at org.jetel.graph.TransformationGraph.init(TransformationGraph.java:453)
at org.jetel.graph.runtime.EngineInitializer.initGraph(EngineInitializer.java:176)
at org.jetel.graph.runtime.EngineInitializer.initGraph(EngineInitializer.java:147)
at org.jetel.main.runGraph.runGraph(runGraph.java:364)
at org.jetel.main.runGraph.main(runGraph.java:328)
Caused by: MYSQL_DATA_WRITER0 …FAILED !
Reason: Error during initialization of MysqlPortDataConsumer.
at org.jetel.graph.Phase.init(Phase.java:168)
at org.jetel.graph.TransformationGraph.init(TransformationGraph.java:451)
… 4 more
Caused by: Element [MYSQL_DATA_WRITER0:MysqlDataWriter]-Error during initialization of MysqlPortDataConsumer.
at org.jetel.component.MysqlDataWriter.createConsumers(MysqlDataWriter.java:729)
at org.jetel.component.BulkLoader.init(BulkLoader.java:169)
at org.jetel.graph.Phase.init(Phase.java:163)
… 5 more
Caused by: First field of “SimpleLoad” has different type from integer.
at org.jetel.component.MysqlDataWriter$MysqlPortDataConsumer.checkErrPortMetadata(MysqlDataWriter.java:1226)
at org.jetel.component.MysqlDataWriter$MysqlPortDataConsumer.(MysqlDataWriter.java:1130)
at org.jetel.component.MysqlDataWriter.createConsumers(MysqlDataWriter.java:726)