revert monitor.php changes as only compatible with mysql 5.6+