Consider the following GRANT statement: GRANT USAGE ON *.* TO 'kofi'@'localhost'
IDENTIFIED BY 'password' What is the implications of executing that statement?
Which of the following describe the correct single-statement syntax for allowing the existing user
'kofi'@'%' to perform SELECT, INSERT, DELETE and UPDATE actions on all tables in the world
database?
Consider the following two partial outputs of the SHOW VARIABLES command on a master and
slave server:
Master:
+--------------------------+---------------------------+
| Variable_name | Value |
+--------------------------+---------------------------+
| connect_timeout | 5 |
| log_bin | ON |
| max_connections | 100 |
| shared_memory_base_name | MYSQL |
| server_id | 2 |
| tmp_table_size | 5242880 |
| version | 5.0.13-rc-nt |
Slave:
+--------------------------+---------------------------+
| Variable_name | Value |
---------------------------+---------------------------+
| connect_timeout | 5 |
| log_bin | ON |
| max_connections | 10 |
| shared_memory_base_name | MYSQL |
| server_id | 2 |
| tmp_table_size | 4266336 |
| version | 5.0.16-rc-nt |
There is apparently a problem with the slave
replicating from the master. Which of the following best describes the most likely problem?
You have two databases, db1 and db2 and you have a table test in both of the databases. Your
current default database is db1. Which of the following tables will be affected by the following
command?
mysql> GRANT SELECT, INSERT, UPDATE, DELETE ON test TO 'joe'@'%' IDENTIFIED BY
'sakila'