OS Manuals

/usr/bin/mysqld_safe

Percona Server for MySQL is a free, fully compatible, enhanced, and open source drop-in replacement for any MySQL database. It provides superior performance, scalability, and instrumentation.

From percona-server-9.7 9.7.2.2-r4 (enterprise-packages), captured 2026-11-08 by running mysqld_safe --help (exit 1). permalink

Usage: /usr/bin/mysqld_safe [OPTIONS]
 The following options may be given as the first argument:
  --no-defaults              Don't read the system defaults file
  --defaults-file=FILE       Use the specified defaults file
  --defaults-extra-file=FILE Also use defaults from the specified file

 Other options:
  --ledir=DIRECTORY          Look for mysqld in the specified directory
  --open-files-limit=LIMIT   Limit the number of open files
  --core-file-size=LIMIT     Limit core files to the specified size
  --timezone=TZ              Set the system timezone
  --malloc-lib=LIB           Preload shared library LIB if available
  --mysqld=FILE              Use the specified file as mysqld
  --mysqld-version=VERSION   Use "mysqld-VERSION" as mysqld
  --nice=NICE                Set the scheduling priority of mysqld
  --plugin-dir=DIR           Plugins are under DIR or DIR/VERSION, if
                             VERSION is given
  --skip-kill-mysqld         Don't try to kill stray mysqld processes
  --syslog                   Log messages to syslog with 'logger'
  --skip-syslog              Log messages to error log (default)
  --syslog-tag=TAG           Pass -t "mysqld-TAG" to 'logger'
  --flush-caches             Flush and purge buffers/caches before
                             starting the server

  --mysqld-safe-log-         TYPE must be one of UTC (ISO 8601 UTC),
    timestamps=TYPE          system (ISO 8601 local time), hyphen
                             (hyphenated date a la mysqld 5.6), legacy
                             (legacy non-ISO 8601 mysqld_safe timestamps)

All other options are passed to the mysqld program.
Options (17)
OptionDescriptionSource
--no-defaultsDon't read the system defaults filehelp
--defaults-file FILEUse the specified defaults filehelp
--ledir DIRECTORYLook for mysqld in the specified directoryhelp
--open-files-limit LIMITLimit the number of open fileshelp
--core-file-size LIMITLimit core files to the specified sizehelp
--timezone TZSet the system timezonehelp
--malloc-lib LIBPreload shared library LIB if availablehelp
--mysqld FILEUse the specified file as mysqldhelp
--mysqld-version VERSIONUse "mysqld-VERSION" as mysqldhelp
--nice NICESet the scheduling priority of mysqldhelp
--plugin-dir DIRPlugins are under DIR or DIR/VERSION, if VERSION is givenhelp
--skip-kill-mysqldDon't try to kill stray mysqld processeshelp
--syslogLog messages to syslog with 'logger'help
--skip-syslogLog messages to error log (default)help
--syslog-tag TAGPass -t "mysqld-TAG" to 'logger'help
--flush-cachesFlush and purge buffers/caches before starting the serverhelp
--mysqld-safe-log-TYPE must be one of UTC (ISO 8601 UTC), timestamps=TYPE system (ISO 8601 local time), hyphen (hyphenated date a la mysqld 5.6), legacy (legacy non-ISO 8601 mysqld_safe timestamps)help

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.