• --port= port_num 

The port number that the server should use when listening for TCP/IP connections. The port number must be 1024 or higher unless the server is started by the root  operating system user. 

• --skip-kill-mysqld 

Do not try to kill stray mysqld  processes at startup. This option works only on Linux. 

• --socket= path 

The Unix socket file that the server should use when listening for local connections. 

• --syslog , --skip-syslog 

--syslog  causes error messages to be sent to syslog  on systems that support the logger  program. 

--skip-syslog  suppresses the use of syslog ; messages are written to an error log file. 

When syslog  is used for error logging, the daemon.err  facility/severity is used for all log messages. 

Using these options to control mysqld  logging is deprecated. To write error log output to the system log, use the instructions at Section 5.4.2.8, “Error Logging to the System Log” . To control the facility, use the server log_syslog_facility  system variable. 

• --syslog-tag= tag 

For logging to syslog , messages from mysqld_safe  and mysqld  are written with identifiers of mysqld_safe  and mysqld , respectively. To specify a suffix for the identifiers, use --syslog- tag= tag , which modifies the identifiers to be mysqld_safe- tag  and mysqld- tag . 

Using this option to control mysqld  logging is deprecated. Use the server log_syslog_tag  system variable instead. See Section 5.4.2.8, “Error Logging to the System Log” . 

• --timezone= timezone 

Set the TZ  time zone environment variable to the given option value. Consult your operating system documentation for legal time zone specification formats. 

• --user={ user_name | user_id } 

Run the mysqld  server as the user having the name user_name  or the numeric user ID user_id . (“User”  in this context refers to a system login account, not a MySQL user listed in the grant tables.) 

If you execute mysqld_safe  with the --defaults-file  or --defaults-extra-file  option to name an option file, the option must be the first one given on the command line or the option file is not used. For example, this command does not use the named option file: 

mysql> mysqld_safe --port= port_num  --defaults-file= file_name 

Instead, use the following command: 

mysql> mysqld_safe --defaults-file= file_name  --port= port_num 

The mysqld_safe  script is written so that it normally can start a server that was installed from either a source or a binary distribution of MySQL, even though these types of distributions typically install the server in slightly different locations. (See Section 2.1.5, “Installation Layouts” .) mysqld_safe  expects one of the following conditions to be true: 

•The server and databases can be found relative to the working directory (the directory from which mysqld_safe  is invoked). For binary distributions, mysqld_safe  looks under its working directory 

