Tutorial Series MySQL series: Basic concepts of MySQL relational database Note: Some of these parameters can be modified at runtime and will take effect immediately; some parameters cannot be modified and can only take effect by modifying the configuration file and restarting the server program; some parameters are global and cannot be changed; some can provide separate (session) settings for each user 1. Server Options
2. Server system variablesServer variables are divided into dynamic variables and non-dynamic variables. Dynamic variables can be modified without restarting the server. Server variables are divided into global variables and session variables. Modification of global variables affects users who log in later; session variables only affect the current session and become invalid after exiting.
Modify global variables: only valid for newly created sessions after modification; invalid for already established sessions
Modify the session variables:
3. Server Status VariablesView status variables (read-only): variables used to save mysqld running statistics, cannot be changed
Refer to the official documentation: https://dev.mysql.com/doc/refman/5.7/en/mysqld-option-tables.html https://mariadb.com/kb/en/library/full-list-of-mariadb-options-system-and-status-variables SQL_MODE sql_mode is both an option and a variable. Setting it can perform some constraint checking tasks. It can be set globally or for the current session.
Refer to the official documentation: https://mariadb.com/kb/en/library/sql-mode This concludes the article on MySQL server variables in the eighth series. For more information on MySQL server variables, please search for previous articles on 123WORDPRESS.COM or continue to browse the following related articles. I hope you will support 123WORDPRESS.COM in the future! You may also be interested in:
|
<<: Common rule priority issues of Nginx location
I just finished installing MySQL 5.7.19 in the ea...
Requirement: The page needs to display an image, ...
Table of contents DOMContentLoaded and load What ...
Here we only focus on the installation and use of...
Menu bar example 1: Copy code The code is as foll...
1. Target environment Windows 7 64-bit 2. Materia...
In the previous article, we introduced: MySQL8.0....
In Black Duck's 2017 open source survey, 77% ...
This article example shares the specific code for...
Table of contents 1. Basic understanding of React...
1) Enter the folder path where the jdk file is st...
In daily operation and maintenance work, backup o...
In web design, we often use arrows as decoration ...
Copy code The code is as follows: <!DOCTYPE ht...
I have encountered many problems in learning Dock...