Managing MySQL Users
- Usage of aggregates in WHERE clause is disallowed.
-
View Hint View Answer Discuss in Forum
NA
Correct Option: B
The usage of aggregates inside ‘WHERE’ clauses is not allowed. For example, the following statement will not work : ‘SELECT * FROM my_table WHERE attribute_name = MAX(attribute_name)’, because the MAX value is not known yet.
- MySQL does not support the shared-memory connections on Windows.
-
View Hint View Answer Discuss in Forum
NA
Correct Option: A
MySQL supports shared memory connections on Windows. This capability is disabled by default. In order to enable it, the server is started with the ‘–shared-memory’ option.
- The statement used to obtain access privileges to an account is ______________.
-
View Hint View Answer Discuss in Forum
NA
Correct Option: A
If the named account exists, ‘GRANT’ modifies its privileges. If the account does not exist, ‘GRANT’ creates it with the given privileges. It is used to obtain the access privileges.
- The stored-routine privileges are contained in ______________.
-
View Hint View Answer Discuss in Forum
NA
Correct Option: A
‘procs_priv’ stores stored-routine privileges. The grant table ‘user’ stores the users who can connect to the server and their global privileges. ‘db’ has the database privileges records.
- The grant table that stores users who can connect to the server and their global privileges is ______________.
-
View Hint View Answer Discuss in Forum
NA
Correct Option: D
The grant table ‘user’ stores the users who can connect to the server and their global privileges. ‘db’ has the database privileges records. ‘tables_priv’ has table privileges.