PHP-MySQL load/stress script

I'm looking for a PHP script that could do a load/stress testing of MySQL server (Linux Apache)?

I've had a user with some custom PHP forum with MySQL backend which used to make CPU load more than 50 with just a 20 users on it. Obviously it was a bad script, but whole server would become unstable and services would start crashing. That forum is gone now, but I did some tweaks and would like to try stress test on MySQL to see what will happen.

 

 

 

 

Top