错误日志

错误日志中包含了系统在运行时候出现的严重错误,同时也包含有数据库系统在启动和停止时候出现的错误信息。

启用错误日志

错误日志在默认情况下是被激活的。 log-error=filename 选项决定了错误日志的写入名称。

如这里没有指派文件名,系统的错误日志将会写入到host-name.err 中。

如果没有指派绝对路径,系统的错误日志文件将会写入到数据目录中,这个位置由datadir 系统变量决定。

Comments

Comments loading...
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.