Uploaded image for project: 'Help-Desk'
  1. Help-Desk
  2. HELP-4286

FIWARE.Request.Tech.Data.BigData-Analysis.CygnusMySQLSink

    Details

      Description

      Created question in FIWARE Q/A platform on 29-07-2015 at 16:07
      Please, ANSWER this question AT http://stackoverflow.com/questions/31704141/how-to-configure-cygnus-to-save-in-mysql

      Question:
      How to configure Cygnus to save in mysql

      Description:
      I'm trying to configure Cygnus in order to persist Orion context data in a MySQL database. I have installed phpmyadmin, and I'm trying to use this database to save the data. The whole workflow is the following one: Orion recives some data, then it is sent to Cygnus, and finally Cygnus sends it to the SQL db.

      This is my configuration:

      1. OrionMySQLSink configuration
      2. channel name from where to read notification events
        cygnusagent.sinks.mysql-sink.channel = mysql-channel
      3. sink class, must not be changed
        cygnusagent.sinks.mysql-sink.type = com.telefonica.iot.cygnus.sinks.OrionMySQLSink
      4. the FQDN/IP address where the MySQL server runs
        cygnusagent.sinks.mysql-sink.mysql_host = x.y.z.w
      5. the port where the MySQL server listens for incomming connections
        cygnusagent.sinks.mysql-sink.mysql_port = 3306
      6. a valid user in the MySQL server
        cygnusagent.sinks.mysql-sink.mysql_username = root
      7. password for the user above
        cygnusagent.sinks.mysql-sink.mysql_password = xxxxxxxxxxxx
      8. how the attributes are stored, either per row either per column (row, column)
        cygnusagent.sinks.mysql-sink.attr_persistence = column

        Activity

        Hide
        backlogmanager Backlog Manager added a comment -

        2015-05-24 10:05|UPDATED status| # answers= 1, accepted answer= False

        Show
        backlogmanager Backlog Manager added a comment - 2015-05-24 10:05|UPDATED status| # answers= 1, accepted answer= False
        Hide
        frb Francisco Romero added a comment -

        Closing since this was answered by a external user within the FIWARE community.

        Show
        frb Francisco Romero added a comment - Closing since this was answered by a external user within the FIWARE community.

          People

          • Assignee:
            frb Francisco Romero
            Reporter:
            backlogmanager Backlog Manager
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: