We help IT Professionals succeed at work.

Mysqlslap - where is it hidden?

wildzero
wildzero asked
on
Hi there,

Was just reading about using mysqlslap for query / stress testing - but I can't seem to find it on my two dev machines!
Both are running mysql5 - but I just can't seem to locate it anywhere. The manual says to just type it in at the shell, but I get.

[nick@local ~] mysqlslap
bash: mysqlslap: command not found

Even doing a whereis or locate can't find this mysqlslap!

argh!
Comment
Watch Question

Commented:

Hi,

This seems to be a packaging bug:
http://bugs.mysql.com/bug.php?id=32077

Cheers,
za-k/

Author

Commented:
Right, so how can I get it?
Do I have to update to the latest mysqlserver?

Commented:

Hi,

Updating might be a solution. I don't know if the latest you can get has the program in.
Seems that 5.1.23 has it as far as I can tell.
Of course, the alternative would be to build it yourself.

Cheers,
Adrian Pop/

Author

Commented:
Yea the current version I have is 5.0.45 (last stable before 5.1) so just need to upgrade to latest 5.1

:-)
Thanks - made me look at version numbers more.

Explore More ContentExplore courses, solutions, and other research materials related to this topic.