Skip to content

Latest commit

 

History

History
31 lines (20 loc) · 549 Bytes

README.md

File metadata and controls

31 lines (20 loc) · 549 Bytes

corrupt-mysql

Corrupting MySQL and testing how the monitoring system reacts.

Usages

Create a deadlock

./corrupt-mysql deadlock -H10.186.62.63 -P25690 -uuniverse_udb -p123

Create a slow query log

./corrupt-mysql slowlog -H10.186.62.63 -P25690 -uuniverse_udb -p123

Create big transactions

./corrupt-mysql bt -H10.186.62.63 -P25690 -uuniverse_udb -p123 100MB

example

Make MySQL's CPU usage high

./corrupt-mysql hcpu -H10.186.62.63 -P25690 -uuniverse_udb -p123