This was harder than it should've been!

  • Download the source distribution - I couldn't get the MySQL-bench-3.23.51-1.rpm to install as it complains about MySQL-DBI-perl-bin . But I'm sure I have that installed from the default redhat 7.2 install as I can do queries from Perl all day long. Sigh. So instead I worked off the source distrubution.
  • If you happened to delete your test database, re-create it. Just a blank one. ( mysql> create database test )
  • Go to the sql-bench directory
  • make the .sh files executable ( chmod +x *.sh )
  • these are all perl scripts, but the first line (at least on my system) causes problems. Run this at the command line...
perl -p -i -e 's!^#\!\@PERL\@$!#\!/usr/bin/perl!g' *.sh
  • then, execute the test-___.sh files. The run-all-tests.sh command for me did not work, it happily says it's done after doing nothing!
  • As the tests complete, you'll notice their names match those listed here. There are other scripts to generate the graph and do comparisons in the same directory...didn't play with these

-- MattWalsh - 30 Aug 2002

Topic revision: r1 - 30 Aug 2002 - MattWalsh
 
This site is powered by the TWiki collaboration platformCopyright © 2008-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback