Mysql Setup


  1. It is required to have an access privilege for a database before selecting it with ‘USE’.











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: B

    In order to select a database as the default database for the MySQL server using the ‘USE’ statement, some access privilege for the database needs to be granted or attained.


  1. For REVOKE statements, the server automatically rereads the grant tables.











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: B

    For the ‘REVOKE’ and ‘DROP USER’ statements, the server automatically re-reads the grant tables and no FLUSH PRIVILEGES statements are needed. Hence the grant tables are re-read.



  1. Server startup can also be done by the ______________.











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: D

    The options are listed in an option file. Options specified in this way are given one per line. Only the long option form can be used and it is written without the leading dashes.


  1. The option which finds the startup options supported by the server through mysqld is ______________.











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: D

    The statement ‘mysqld –verbose –help’ is used for finding out all the startup options that are supported by the server. It is possible to run the server manually or automatically.



  1. The error log file has a suffix ______________.











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: C

    In Windows, by default, the error log is located in the ‘C:\Program Files\MySQL\MySQL Server 5.7\data’ directory. It is the file with a suffix of .err, or may be specified by passing in the ‘–log-error’ option.