-
Notifications
You must be signed in to change notification settings - Fork 446
MySQL Server Startup Script
darnaut edited this page Mar 21, 2012
·
1 revision
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.
Format | Option File | Description |
---|---|---|
--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 |