MySQL Server Startup Script
Clone this wiki locally
mysqld_safe is the recommended way to start a
mysqld server. It adds some safety features such as restarting the server when an error occurs and logging runtime information to an error log file. Many of the options to
mysqld_safe are the same as the options to
mysqld. 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.
Twitter's mysqld_safe supports the following options.
|--flush-caches||flush-caches||Flush and purge buffers/caches (vm.drop_caches=3)|
|--numa-interleave||numa-interleave||Run mysqld with its memory interleaved on all CPUs|