nerdexam
Oracle

1Z0-883 · Question #104

You are creating a new server with the same accounts as an existing server. You do this by importing a mysqldump file of the mysql database. You test whether the import was successful by using the…

The correct answer is C. FLUSH PRIVILEGES. See the full explanation below for the reasoning.

Question

You are creating a new server with the same accounts as an existing server. You do this by importing a mysqldump file of the mysql database. You test whether the import was successful by using the following commands:

Mysql> select user, host, password from mysql.user; 9 rows in set (0.00 sec) Mysql> show grants for admin'@'%'; ERROR 1141 (42000): There is no such grant defined for user admin' on host `%' Which command will fix this issue?

Options

  • ACREATE USER `admin' @'%';
  • BGRANT USAGE ON . TO `admin'@'%';
  • CFLUSH PRIVILEGES;
  • DFLUSH HOST CACHE;
  • EUPDATE mysql.user SET Create_user_priv = Y' WHERE user= admin';

How the community answered

(58 responses)
  • A
    3% (2)
  • B
    2% (1)
  • C
    83% (48)
  • D
    2% (1)
  • E
    10% (6)

Community Discussion

No community discussion yet for this question.

Full 1Z0-883 Practice