maintenance - lefred/mysqlshell-plugins GitHub Wiki

maintenance

NAME
      maintenance - Server management and utilities.

DESCRIPTION
      A collection of Server management tools and utilities

methods

shutdown

Stop the instance using Std Protocol.

This is useful when you want to shutdown MySQL when you are connected using X Protocol.

 JS  \sql shutdown
ERROR: 3130: Command not supported by pluggable protocols

 JS  maintenance.shutdown()
Using mysql://root@localhost:3306 to connect to standard protocol...
Stopping mysqld....