content_image/800863.jpg
[mysqld_safe] malloc-lib=tcmalloc 

To use a specific tcmalloc  library, specify its full path name. Example: 

[mysqld_safe] malloc-lib=/opt/lib/libtcmalloc_minimal.so 

• --mysqld= prog_name 

The name of the server program (in the ledir  directory) that you want to start. This option is needed if you use the MySQL binary distribution but have the data directory outside of the binary distribution. If mysqld_safe  cannot find the server, use the --ledir  option to indicate the path name to the directory where the server is located. 

This option is accepted only on the command line, not in option files. On platforms that use systemd, the value can be specified in the value of MYSQLD_OPTS . See Section 2.5.9, “Managing MySQL Server with systemd” . 

• --mysqld-version= suffix 

This option is similar to the --mysqld  option, but you specify only the suffix for the server program name. The base name is assumed to be mysqld . For example, if you use --mysqld- version=debug , mysqld_safe  starts the mysqld-debug  program in the ledir  directory. If the argument to --mysqld-version  is empty, mysqld_safe  uses mysqld  in the ledir  directory. 

This option is accepted only on the command line, not in option files. On platforms that use systemd, the value can be specified in the value of MYSQLD_OPTS . See Section 2.5.9, “Managing MySQL Server with systemd” . 

• --nice= priority 

Use the nice  program to set the server’s scheduling priority to the given value. 

• --no-defaults 

Do not read any option files. If program startup fails due to reading unknown options from an option file, --no-defaults  can be used to prevent them from being read. This must be the first option on the command line if it is used. 

For additional information about this and other option-file options, see Section 4.2.2.3, “Command-Line Options that Affect Option-File Handling” . 

• --open-files-limit= count 

The number of files that mysqld  should be able to open. The option value is passed to ulimit -n . 

<img src='content_image/800863.jpg'>

• --pid-file= file_name 

The path name that mysqld  should use for its process ID file. 

• --plugin-dir= dir_name 

The path name of the plugin directory. 

## Note 

You must start mysqld_safe  as root  for this to function properly. 

