MySQL
keyboard_arrow_down 295 guides
chevron_leftServer settings Cookbook
check_circle
Mark as learned thumb_up
0
thumb_down
0
chat_bubble_outline
0
Comment auto_stories Bi-column layout
settings
Checking server configuration settings in MySQL
schedule Aug 11, 2023
Last updated local_offer
Tags MySQL
tocTable of Contents
expand_more Master the mathematics behind data science with 100+ top-tier guides
Start your free 7-days trial now!
Start your free 7-days trial now!
We can check server configuration settings in MySQL using the SHOW VARIABLES
command:
SHOW VARIABLES;
+----------------------------------------------------------+------------+| Variable_name | Value |+----------------------------------------------------------+------------+| activate_all_roles_on_login | OFF || admin_address | || admin_port | 33062 || auto_generate_certs | ON || auto_increment_increment | 1 || auto_increment_offset | 1 || autocommit | ON || automatic_sp_privileges | ON |
We have only shown the first few rows due to the large number of returned variables.
The result can be filtered using the LIKE
operator:
SHOW VARIABLES LIKE 'w%';
+------------------------------+-------+| Variable_name | Value |+------------------------------+-------+| wait_timeout | 28800 || warning_count | 0 || windowing_use_high_precision | ON |+------------------------------+-------+
Published by Arthur Yanagisawa
Edited by 0 others
Did you find this page useful?
thumb_up
thumb_down
Comment
Citation
Ask a question or leave a feedback...
thumb_up
0
thumb_down
0
chat_bubble_outline
0
settings
Enjoy our search
Hit / to insta-search docs and recipes!