content_image/856874.jpg content_image/856875.jpg content_image/856876.jpg
<img src='content_image/856874.jpg'>

Set the default error log destination to the named file. This affects log sinks that base their own output destination on the default destination. See Section 5.4.2, “The Error Log” . 

If the option names no file, the default error log destination on Unix and Unix-like systems is a file named host_name .err  in the data directory. The default destination on Windows is the same, unless the -- pid-file  option is specified. In that case, the file name is the PID file base name with a suffix of .err in the data directory. 

If the option names a file, the default destination is that file (with an .err  suffix added if the name has no suffix), located under the data directory unless an absolute path name is given to specify a different location. 

If error log output cannot be redirected to the error log file, an error occurs and startup fails. 

On Windows, --console  takes precedence over --log-error  if both are given. In this case, the default error log destination is the console rather than a file. 

• --log-isam[= file_name ] 

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

Log all MyISAM  changes to this file (used only when debugging MyISAM ). 

• --log-raw 

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

Passwords in certain statements written to the general query log, slow query log, and binary log are rewritten by the server not to occur literally in plain text. Password rewriting can be suppressed for the general query log by starting the server with the --log-raw  option. This option may be useful for diagnostic purposes, to see the exact text of statements as received by the server, but for security reasons is not recommended for production use. 

If a query rewrite plugin is installed, the --log-raw  option affects statement logging as follows: 

•Without --log-raw , the server logs the statement returned by the query rewrite plugin. This may differ from the statement as received. 

•With --log-raw , the server logs the original statement as received. 

For more information, see Section 6.1.2.3, “Passwords and Logging” . 

