Customer Portal

How can we make Mysql connection

Comments 3

  • Avatar
    avackova
    0
    Comment actions Permalink
    Your error metadata does not satisfy the required structure (see Error Metadata for MySQLDataWriter).
    BTW: if you use MySQLDataWriter for inserting the data into database, you don't need a db connection in your graph. Database connection is used, when inserting data to database with DBOutputTable.
  • Avatar
    sankardunga
    0
    Comment actions Permalink
    Yah, i tried in that way,
    now the connection validation is correct.
    here what is "path to mysql utility"

    when i am executing i am getting following error..............

    Node MYSQL_DATA_WRITER0 finished with status: ERROR caused by: Cannot run program "./conn/sqlcon.cfg": CreateProcess error=193, %1 is not a valid Win32 application
    ERROR [WatchDog] - Node MYSQL_DATA_WRITER0 error details:
    java.io.IOException: Cannot run program "./conn/sqlcon.cfg": CreateProcess error=193, %1 is not a valid Win32 application
    at java.lang.ProcessBuilder.start(Unknown Source)
    at java.lang.Runtime.exec(Unknown Source)
    at java.lang.Runtime.exec(Unknown Source)
    at org.jetel.component.BulkLoader.createProcBox(BulkLoader.java:368)
    at org.jetel.component.BulkLoader.createProcBox(BulkLoader.java:385)
    at org.jetel.component.MysqlDataWriter.execute(MysqlDataWriter.java:499)
    at org.jetel.graph.Node.run(Node.java:425)
    at java.lang.Thread.run(Unknown Source)
    Caused by: java.io.IOException: CreateProcess error=193, %1 is not a valid Win32 application
    at java.lang.ProcessImpl.create(Native Method)
    at java.lang.ProcessImpl.<init>(Unknown Source)
    at java.lang.ProcessImpl.start(Unknown Source)
    ... 8 more
  • Avatar
    avackova
    0
    Comment actions Permalink
    To run the MySQLDataWriter writer component, the mysql client must be installed on the same machine as the graph is running on and mysql command line tool (mysql or mysql.exe) must be available. If you want to connect through jdbc, use DBOutputTable component.

Please sign in to leave a comment.