1Z0-888 · Question #71
Where does MySQL Linux RPM install the mysqld binary?
The correct answer is C. /usr/sbin/. When MySQL is installed via the official Linux RPM package, the mysqld server binary is placed in /usr/sbin/ - the standard Linux directory for system daemons and server binaries that are managed by root and started as services. Why the distractors are wrong: /usr/libexec/ (A)…
Question
Options
- A/usr/libexec/
- B/usr/local/mysql/bin/
- C/usr/sbin/
- D/usr/bin/
- E/opt/mysql/server/bin/
How the community answered
(24 responses)- A4% (1)
- C88% (21)
- D8% (2)
Explanation
When MySQL is installed via the official Linux RPM package, the mysqld server binary is placed in /usr/sbin/ - the standard Linux directory for system daemons and server binaries that are managed by root and started as services.
Why the distractors are wrong:
- /usr/libexec/ (A) - used by some internal system executables but is not where MySQL RPM places
mysqld; this path appears in some other distributions' package layouts. - /usr/local/mysql/bin/ (B) - this is the path used for a generic tarball (source/binary) installation, not RPM.
- /usr/bin/ (D) - this is where MySQL client tools like
mysql,mysqldump, andmysqladminare installed, not the server daemon. - /opt/mysql/server/bin/ (E) - this path is associated with older MySQL Enterprise or Solaris-style installations, not standard Linux RPMs.
Memory tip: Think of the d in mysqld as "daemon" - daemons live in /usr/sbin/, which is reserved for system binaries run by root. Client tools (no d) go in /usr/bin/, while tarball installs use /usr/local/.
Topics
Community Discussion
No community discussion yet for this question.