Load random data into SQL tables for testing purposes. The tool can get the layout of the SQL table and fill it up with random data.
go install github.com/PumpkinSeed/sqlfuzz
sqlfuzz -u username -p password -d database -h 127.0.0.1 -t table -n 100000 -w 100
u
: User for database connectionp
: Password for database connectiond
: Database name for database connectionh
: Host for database connectionP
: Port for database connectionD
: Driver for database connection (currently onlymysql
)t
: Table for fuzzingn
: Number of rows to fuzzw
: Concurrent workers to work on fuzzing