Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.3.0
    • Component/s: MySQL plugin
    • Labels:
      None

      Expenses

        Activity

        Hide
        greboul Grégoire REBOUL added a comment -

        Kick off for a mysql plugin:
        for mysql >=4.1 only (new secured auth method)
        provides connect, authenticate, sql and close

        Related configuration:
        <server host="192.168.0.2" port="3306" type="tcp"/>
        ...
        <session probability="100" name="mysql-example" type="ts_mysql">
        <request>
        <mysql type="connect" />
        </request>
        <request>
        <mysql type="authenticate" database="test" username="test" password="test" />
        </request>
        <request>
        <mysql type="sql">SHOW TABLES</mysql>
        </request>
        <request>
        <mysql type="sql">SELECT * FROM mytable</mysql>
        </request>
        <request>
        <mysql type="close" />
        </request>
        </session>

        Show
        greboul Grégoire REBOUL added a comment - Kick off for a mysql plugin: for mysql >=4.1 only (new secured auth method) provides connect, authenticate, sql and close Related configuration: <server host="192.168.0.2" port="3306" type="tcp"/> ... <session probability="100" name="mysql-example" type="ts_mysql"> <request> <mysql type="connect" /> </request> <request> <mysql type="authenticate" database="test" username="test" password="test" /> </request> <request> <mysql type="sql">SHOW TABLES</mysql> </request> <request> <mysql type="sql">SELECT * FROM mytable</mysql> </request> <request> <mysql type="close" /> </request> </session>
        Hide
        nniclausse Nicolas Niclausse added a comment -

        thanks!

        I'll commit your patch in the trunk soon (i was able to make it work , after a small modification to the parsing of error packet)

        Show
        nniclausse Nicolas Niclausse added a comment - thanks! I'll commit your patch in the trunk soon (i was able to make it work , after a small modification to the parsing of error packet)
        Hide
        nniclausse Nicolas Niclausse added a comment -

        The plugin works ok on simple tests; i'm resolving the bug.

        the plugin is set as 'experimental'

        For improvements & bugs, a new entry should be opened in the bugtracker

        Show
        nniclausse Nicolas Niclausse added a comment - The plugin works ok on simple tests; i'm resolving the bug. the plugin is set as 'experimental' For improvements & bugs, a new entry should be opened in the bugtracker

          People

          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Start Date:

              Development