MySQL :: MySQL 8.4 Reference Manual :: 7.1.10 Server Status Variables (original) (raw)

The MySQL server maintains many status variables that provide information about its operation. You can view these variables and their values by using the SHOW [GLOBAL | SESSION] STATUS statement (see Section 15.7.7.37, “SHOW STATUS Statement”). The optional GLOBAL keyword aggregates the values over all connections, and SESSION shows the values for the current connection.

The status variables have the following meanings.

mysql> SHOW STATUS LIKE 'Ssl_server_not%';  
+-----------------------+--------------------------+  
| Variable_name         | Value                    |  
+-----------------------+--------------------------+  
| Ssl_server_not_after  | Apr 28 14:16:39 2025 GMT |  
| Ssl_server_not_before | May  1 14:16:39 2015 GMT |  
+-----------------------+--------------------------+  
# define SSL_VERIFY_NONE                 0x00  
# define SSL_VERIFY_PEER                 0x01  
# define SSL_VERIFY_FAIL_IF_NO_PEER_CERT 0x02  
# define SSL_VERIFY_CLIENT_ONCE          0x04  

SSL_VERIFY_PEER indicates that the server asks for a client certificate. If the client supplies one, the server performs verification and proceeds only if verification is successful. SSL_VERIFY_CLIENT_ONCE indicates that a request for the client certificate is performed only in the initial handshake.