-
The datadir variable value can be seen using ______________.
-
- SHOW VARIABLE
- SHOW VARIABLES
- DISP VARIABLES
- CONNECT VARIABLES
- None of these
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’.