Skip to main content

No project description provided

Project description

haf plugin sql publish

The plugin sql publish of haf, now only support mysql

Build Status PyPI

How to get it?

by pip tool

    tsbx-mw# pip install hafsqlpublish

by src

    tsbx-mw# git clone https://github.com/hautof/haf-plugin-sqlpublish ./
    tsbx-mw# python setup.py install

usage

notice

first of all , you must create an new database by the haf-plugin-sqlpublish/haf_publish.sql script file.

using as haf params

    python -m haf run --sql-publish=True --sql-publish-db=192.168.0.101:6606@root:test123@haf_publish

using as haf config

    "sql_publish": {
        "id": 1,
        "sql_name": "upload",
        "publish": true,
        "host": "192.168.1.2",
        "port": 3306,
        "username": "root",
        "password": "test123",
        "database": "haf_publish",
        "protocol": "mysql"
      }

design

sql

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for hafsqlpublish, version 0.0.8
Filename, size File type Python version Upload date Hashes
Filename, size hafsqlpublish-0.0.8-py2.py3-none-any.whl (27.1 kB) File type Wheel Python version py2.py3 Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page