- 查看MySQL服务器配置信息
mysql> show variables;- 查看MySQL服务器运行的各种状态值
mysql> show global status;| #!/usr/bin/env python | |
| """ | |
| How to use it: | |
| 1. Just `kill -2 PROCESS_ID` or `kill -15 PROCESS_ID`, | |
| The Tornado Web Server Will shutdown after process all the request. | |
| 2. When you run it behind Nginx, it can graceful reboot your production server. | |
| """ | |
| import time |
mysql> show variables;mysql> show global status;