No project description provided
Project description
haf plugin sql publish
The plugin sql publish of haf, now only support mysql
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
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
File details
Details for the file hafsqlpublish-0.0.8-py2.py3-none-any.whl
.
File metadata
- Download URL: hafsqlpublish-0.0.8-py2.py3-none-any.whl
- Upload date:
- Size: 27.1 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 476f6fdf79a2c39a12082b1d23c1ed30d1b70fc691d8814b363a7ecb0eb4f3fe |
|
MD5 | 907b32383c197d926ff279c5de309e9a |
|
BLAKE2b-256 | 70fe44f850b9682c510aeb0dcce4b2487b70dbd7428df29e93253e4840bf6159 |