You may want to dump diagnostic information about the running
MySQL Database.
For MySQL 5.7, the SYS schema comes with the installation.
You can find the corresponding information on
https://dev.mysql.com/doc/refman/5.7/en/sys-diagnostics.html
For MySQL 5.6,the SYS schema can be downloaded from the following
URL https://github.com/mysql/mysql-sys
The zip file as ‘mysql-sys-master.zip’ is expanded, where the
sys_56.sql can be loaded into the MySQL 5.6 database.
# mysql -uroot -h127.0.0.1 < sys_56.sql
Using MySQL Workbench and connecting to the Server, you can find
the SYS schema installed.
Running the “diagnostics” stored procedure : …