nerdexam
Oracle

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)…

Installation and Configuration

Question

Where does MySQL Linux RPM install the mysqld binary?

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)
  • A
    4% (1)
  • C
    88% (21)
  • D
    8% (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, and mysqladmin are 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

#RPM installation#Linux filesystem#mysqld binary#system paths

Community Discussion

No community discussion yet for this question.

Full 1Z0-888 Practice