Mysql Setup
- It is required to have an access privilege for a database before selecting it with ‘USE’.
-
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.
- For REVOKE statements, the server automatically rereads the grant tables.
-
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.
- Server startup can also be done by the ______________.
-
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.
- The option which finds the startup options supported by the server through mysqld is ______________.
-
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.
- The error log file has a suffix ______________.
-
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.