I was working on a server today that was not hooked up to our usual monitoring systems for one reason or another and I needed to generate a database tuning report. Typically I use Matthew Montgomery’s ‘tuning-primer.sh’ script for this since it’s command line based, simple to use, and generates a number of useful items for tuning recommendations. It’s a great starting point before delving into the deeper aspects of MySQL and the OS.
I ran into an issue with it on this server that was running the
MySQL 5.0.77-percona-highperf-b13-log x86_64 build. The error
was:
./tuning-primer.sh.1: line 517: 5.000000: syntax error in
expression (error token is ".000000")
There were three options to fix this issue
- Dive into the code and modify it cowboy style
- Use our typical monitoring against the client’s wishes
- Contact the developer to get a fix
I hopped on …
[Read more]