MySQL 5.6 Reference Manual Including MySQL NDB Cluster 7.3-7.4 Reference Guide
If you use mysqld_safe to start
mysqld, mysqld_safe
arranges for mysqld to write error messages
to a log file or to syslog
.
mysqld_safe has three error-logging options,
--syslog
,
--skip-syslog
,
and --log-error
. The default
with no logging options or with
--skip-syslog
is to use the default log file. To explicitly specify use of an
error log file, specify
--log-error=
to mysqld_safe, which then arranges for
mysqld to write messages to a log file. To
use file_name
syslog
instead, specify the
--syslog
option.
Error logging to the system log may require additional system configuration. Consult the system log documentation for your platform.