Due to a conflict with wp-syntax plugin I was getting warnings like
Notice: Constant GESHI_VERSION already defined in /path/to/wp-content/plugins/mysql-profiler/lib/geshi/geshi.php on line 44
Notice: Constant GESHI_LANG_ROOT already defined in /path/to/wp-content/plugins/mysql-profiler/lib/geshi/geshi.php on line 53
Notice: Constant GESHI_NO_LINE_NUMBERS already defined in /path/to/wp-content/plugins/mysql-profiler/lib/geshi/geshi.php on line 58
etc
In mysql-profiler/lib/mysql_profiler.php init() function I changed
if ($this->highlight_syntax) {
to
if ($this->highlight_syntax && !defined('GESHI_VERSION')) {
Once that was done everything was good!