MySQL Database Operations
- The datadir variable value can be seen using ______________.
-
View Hint View Answer Discuss in Forum
NA
Correct Option: B
The data directory location is checked by the ‘datadir’ variable. It can be obtained using a ‘SHOW VARIABLES’ statement or a ‘mysqladmin’ variables command, like: SHOW VARIABLES LIKE ‘datadir’.
- Which data directory subdirectory provides the information used to inspect the internal execution of the server at runtime.
-
View Hint View Answer Discuss in Forum
NA
Correct Option: D
The ‘performance_schema’ directory corresponds to the Performance Schema. It provides information used to inspect the internal execution of the server at runtime. The ‘sys’ directory maps to ‘nbdinfo’.
- Which data directory subdirectory corresponds to the nbdinfo database?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: A
The sys directory corresponds to the sys schema. It provides a set of objects to interpret Performance Schema information. The ‘performance_schema’ directory corresponds to the Performance Schema.
- Encrypted connections can be established using ______________.
-
View Hint View Answer Discuss in Forum
NA
Correct Option: D
For the ‘exec_stmt_ssl’ to work properly, MySQL must have been built with SSL support, and the server must be started with the proper options that identify its certificate and key files.
- mysql_next_result() does not return.
-
View Hint View Answer Discuss in Forum
NA
Correct Option: A
The function ‘mysql_next_result()’ returns a status and initiates retrieval of the next set if more results are available. The status is zero if more results are available and -1 if not.