MySQL Basics Practice Test: MySQL System, Status and User Variables — Flashcards | Databases | FatSkills

MySQL Basics Practice Test: MySQL System, Status and User Variables — Flashcards

Fast review mode: answers are shown by default so you can skim quickly. Hide them if you want to self-test.

Quiz on MySQL system and session only system variables, status and user defined variables.


In MySQL Workbench, you can view the system and status variables by clicking Status and System Variables under the Management tab in the left navigation pane. The Status and System Variables screen lists all server variables for the MySQL connection. You can copy all variables to your clipboard, or use the search function to filter the variables. 

You can also change system variables in MySQL Workbench by following these steps:
Open the Administration tab
Select the Status and System Variables secondary tab
Select the Persist check box next to the variable name
Right-click a variable and choose a custom group 

You can also use the SHOW VARIABLES command to return a list of variables. You can filter the list using the LIKE operator. 

MySQL has three types of variables: user-defined, local, and system.
User-defined variables:
Can be used in any part of the SQL query
Local variables: Can be used in the specific blocks of code only
System variables: Are already predefined by MySQL 

You can set most system variables at server startup using options on the command line or in an option file. You can also change most system variables dynamically at runtime using the SET statement.

1 of 33 Ready
Which system variable when set to 1, makes all temporary tables to get stored on disk rather than in memory?
big_tables
Shortcuts
Prev Space Show / hide Next
Turn this into a study set.
Sign in with Google to save tricky questions to your reminder list and resume on any device.
Sign in with Google Free • no extra password