nerdexam
Oracle

1Z0-888 · Question #88

1Z0-888 Question #88: Real Exam Question with Answer & Explanation

Sign in or unlock 1Z0-888 to reveal the answer and full explanation for question #88. The question stem and answer options stay visible for context.

Backup and Recovery

Question

You have just created a replication slave from a backup of the master made with mysqldump: mysqldump -u backup -p --all-databases > /backups/mysql.sql You try to log in to the slave with the application user, but fail as follows: mysql -u application -p ERROR 1045 (28000): Access denied for user 'application'@'localhost' (using password: YES) The login works on the master. Which two changes to the process can fix the issue?

Options

  • AAfter the restore, log in to the database and execute FLUSH PRIVILEGES.
  • BUse the -flush-privileges with mysqldump.
  • CAdd a second dump for the 'mysql' database; --all-databases does not include it.
  • DUse the -grants option to include GRANT statements in the dump.

Unlock 1Z0-888 to see the answer

You've previewed enough free 1Z0-888 questions. Unlock 1Z0-888 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Topics

#mysqldump limitations#mysql system database#user privileges#replication backup
Full 1Z0-888 Practice
You have just created a replication slave from a backup of the... | 1Z0-888 Q#88 Answer | NerdExam