man mysqld_safe (Commandes) - start the mysqld daemon on Unix.


mysqld_safe - start the mysqld daemon on Unix.


mysqld_safe [--basedir=path] [--core-file-size=#] [--defaults-extra-file=path] [--defaults-file=path] [--open-files=#] [--datadir=path] [--err-log=path] [--ledir=path] [--log=path] [--no-defaults] [--open-files=#] [--pid-file=path] [--port=#] [--socket=path] [--timezone=#] [--user=#]


mysqld_safe adds some safety features such as restarting the server when an error occurs and logging run-time information to a log file.

Size of the core file mysqld should be able to create. Passed to ulimit -c.
--ledir=path Path to mysqld
Number of files mysqld should be able to open. Passed to ulimit -n.
Set the timezone (the TZ) variable to the value of this parameter.


Note that all options on the command line to mysqld_safe are passed to mysqld. If you wants to use any options in mysqld_safe that mysqld doesn't support, you must specify these in the option file.


isamchk(1), isamlog(1), mysql(1), mysqlaccess(1), mysqladmin(1), mysqld(1), mysqld_multi(1), mysqldump(1), mysql_fix_privilege_tables(1), mysqlshow(1), mysql_zap(1), perror(1), replace(1)

For more information please refer to the MySQL reference manual, which may already be installed locally and which is also available online at


Please refer to to report bugs.


Ver 1.0, distribution 4.1.15 Michael (Monty) Widenius (, MySQL AB ( This software comes with no warranty. Manual page by L. (Kill-9) Pedersen (, Mercurmedia Data Model Architect / system developer (