Oracle
1Z0-888 · Question #29
1Z0-888 Question #29: Real Exam Question with Answer & Explanation
Sign in or unlock 1Z0-888 to reveal the answer and full explanation for question #29. The question stem and answer options stay visible for context.
Installation and Configuration
Question
MYSQL is installed on a Linux server and has this configuration:
[mysqld]
user=mysql
datadir=/data/mysql/
As the 'root' user, you change the datadir location by executing:
shell> cp -R /var/lib/mysql /data/mysql/
shell> chown -R mysql /data/mysql
What is the purpose of changing ownership of datadir to the 'mysql' user?
Options
- AA MySQL needs to be run as the root user, but files cannot be owned by it.
- BThe MySQL process requires all permissions within datadir to be the same.
- CMySQL cannot be run as the root user.
- DMySQL requires correct file ownership while remaining secure.
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
#File ownership#MySQL user configuration#Datadir setup#Process permissions