MySQL Database Operations


  1. Encrypted connections can be established using ______________.











  1. 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.


  1. Which data directory subdirectory corresponds to the nbdinfo database?











  1. 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.



  1. Which data directory subdirectory provides the information used to inspect the internal execution of the server at runtime.











  1. 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’.


  1. The datadir variable value can be seen using ______________.











  1. 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’.



  1. The option that specifies the data directory location at server startup is ______________.











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: A

    At the server startup the data directory location is specified by using a ‘–datadir=dir_name’ option. It is helpful for naming a location other than the compiled in default.