Managing MySQL Users


  1. Usage of aggregates in WHERE clause is disallowed.











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


  1. MySQL does not support the shared-memory connections on Windows.











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



  1. The statement used to obtain access privileges to an account is ______________.











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


  1. The stored-routine privileges are contained in ______________.











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



  1. The grant table that stores users who can connect to the server and their global privileges is ______________.











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