mysqld_safe — MySQL Server Startup Script Options unknown to  mysqld_safe  are passed to  mysqld  if they are specified on the command line, but ignored if they are specified in the  [mysqld_safe]  group of an option file. See Section 4.2.2.2, “Using Option Files” . mysqld_safe  reads all options from the  [mysqld] ,  [server] , and  [mysqld_safe]  sections in option files. For example, if you specify a  [mysqld]  section like this,  mysqld_safe  finds and uses the  --log- error  option: [mysqld] log-error=error.log For backward compatibility,  mysqld_safe  also reads  [safe_mysqld]  sections, but to be current you should rename such sections to  [mysqld_safe] . mysqld_safe  accepts options on the command line and in option files, as described in the following table. For information about option files used by MySQL programs, see Section 4.2.2.2, “Using Option Files” . Table 4.6 mysqld_safe Options Option Name Description --basedir Path to MySQL installation directory --core-file-size Size of core file that mysqld should be able to create --datadir Path to data directory --defaults-extra-file Read named option file in addition to usual option files --defaults-file Read only named option file --help Display help message and exit --ledir Path to directory where server is located --log-error Write error log to named file --malloc-lib Alternative malloc library to use for mysqld --mysqld Name of server program to start (in ledir directory) --mysqld-safe-log-timestamps Timestamp format for logging --mysqld-version Suffix for server program name --nice Use nice program to set server scheduling priority --no-defaults Read no option files --open-files-limit Number of files that mysqld should be able to open --pid-file Path name of server process ID file --plugin-dir Directory where plugins are installed --port Port number on which to listen for TCP/IP connections --skip-kill-mysqld Do not try to kill stray mysqld processes --skip-syslog Do not write error messages to syslog; use error log file --socket Socket file on which to listen for Unix socket connections --syslog Write error messages to syslog --syslog-tag Tag suffix for messages written to syslog 383