mysqld : where is the query log file saved?

标签 mysql logging

我已经执行了

sudo mysqld --general_log

日志文件存储在哪里?

问候

哈维

最佳答案

请查看文件夹/var/log/mysql/

默认情况下,general_log_filehost_name.log

更多信息请参见:http://dev.mysql.com/doc/refman/5.1/en/server-system-variables.html#sysvar_general_log_file

关于mysqld : where is the query log file saved?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5192186/

相关文章:

python - 如何临时重定向 Python 中日志记录的输出?

iis - 如何在 Azure 中启用 cs-host IIS 日志记录?

Python 根记录器消息未通过使用 fileConfig 配置的处理程序记录

mysql - 如何使用单个查询获取最后更新的行

PHP - 代码只给出 Mysql 数据库中的一个值,而它应该给出更多值

python - 如何根据记录器名称在 python 中配置和使用特定记录器

c# - 记录器提供程序 : How can I implement a custom formatter

mysql - 如何配置一个spring+hibernate+mysql项目?

mysql - 数据库级别的 silverstripe 起始页

PHP 超时覆盖没有明确的解释