Comment 2 for bug 996915

Revision history for this message
Daniel Nichter (daniel-nichter) wrote :

Now with early error checking and nice error messages:

--max-load 100
Errors in command-line arguments:
  * Invalid --max-load: 100 is not a variable name

--max-load foo=bar
Errors in command-line arguments:
  * Invalid --max-load: The value for foo must be a number

--max-load foo=100
Error checking --max-load or --critial-load: Variable foo does not exist or its value is undefined. Check that the variables specified for --max-load and --critical-load are spelled correctly and exist in SHOW GLOBAL STATUS. Current values for these options are:
  --max-load foo=100
  --critial-load Threads_running=50