Skip to content

Latest commit

 

History

History
35 lines (22 loc) · 866 Bytes

README.md

File metadata and controls

35 lines (22 loc) · 866 Bytes

MyProvisioner

MyProvisioner is a little multi-threading Python tool useful to insert a MySQL table with a number of rows, using a configurable number of threads. Columns will be set to random data. Strings will be initialised to random maximum data type length strings.

Installation

No installation needed, just Python 3.6 installed.

Preparation

Install the following libraries. You can

python3.6 -m venv oci-cli
source oci-cli/bin/activate

sudo yum install mysql-devel
pip install mysql-connector-python

Usage

./myprovisioner.py  --host=\<HOSTNAME> -u\<USER> -P\<PORT> -p=\<PASSWORD> -d\<SCHEMA> -t\<TABLE> -r\<ROWS> -c\<CONCURRENCY>

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

MIT