MySQL Log File Location

MySQL Windows distributions use an MSI installer with user-selectable options at various stages of the installation. The Logging Options page displays the log enabling and location defaults and also allows you to make adjustments as required.

The error, slow query, and binary logs are enabled by default, but the general query log is not enabled. The default location for each of the logs is the MySQL Data directory (C:\ProgramData\MySQL\MySQL Server [version number]\Data\), and the default log names are based on the computer’s device name.

Link
https://www.sumologic.com/blog/mysql-log-file-location/

Windows
Launch Command Prompt.

Type both of the following commands, each followed by pressing the Return key:
net stop MySQL80
net start MySQL80

Note: The service name MySQL80 may vary.

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top
Share via
Copy link