• Georgi Kodinov's avatar
    Bug #24496214: MISLEADING ERROR EXECUTING MYSQLADMIN SHUTDOWN AGAINST A SERVER · 0d43e570
    Georgi Kodinov authored
    RUNNING FIREWALL
    
    mysqladmin shutdown will try to extract the server's pid file before executing
    the actual shutdown command.
    It will do that by executing a SHOW VARIABLES query and processing the result.
    However if that query fails it print a (somewhat confusing) error mesasage
    and will still continue to do the shutdown command.
    If that passes then the mysqladmin user will get an error but the shutdown will
    still be successful.
    This is confusing so the error message text is changed to say that this is a
    non-fatal error and execution continues.
    No test case added since it'd require a selective query failure device that's
    not available in 5.5.
    0d43e570
mysqladmin.cc 42 KB