Mysqladmin show variables
- mysqladmin show variables
- phpmyadmin show variables
- mysqladmin example
- show variables in mysql
SHOW VARIABLES shows the values of MySQL system variables (see Section 7.1.8, “Server System Variables”)..
MySQL - SHOW VARIABLES Statement
MySQL SHOW VARIABLES Statement
The SHOW VARIABLES Statement is used to display names and values of MySQL system variables.
Syntax
Following is the syntax of the SHOW VARIABLES Statement −
SHOW [GLOBAL | SESSION] VARIABLES [LIKE 'pattern' | WHERE expr]Example
You can retrieve the list GLOBAL VARIABLES in MySQL using the GLOBAL clause as shown below −
SHOW GLOBAL VARIABLES\G;Output
The above query produces the following output −
************* 1.row ************* Variable_name: activate_all_roles_on_login Value: OFF ************* 2. row ************* Variable_name: admin_address Value: ************* 3. row ************* Variable_name: admin_port Value: 33062 ************* 4.
row ************* Variable_name: admin_ssl_ca Value: ************* 5. row ************* Variable_name: admin_ssl_capath Value: ************* 6.
This is a deprecated alias for stop-replica.
row ************* Variable_name: admin_ssl_cert Value: ************* 7. row ************* Variable_name: admin_ssl_cipher Value: ************* 8. row ************* Variable_name: admin_ssl_crl Value: *****
- mysqladmin variables
- mysqladmin set variable