Home > Mobile >  How to find MySQL error log file on Windows?
How to find MySQL error log file on Windows?

Time:02-08

I just downloaded MySQL on Windows, and I am trying to run MySQl from the command line. When I try to login as root, the server simply freezes and does nothing. If I enter the incorrect password, it denies me access, but when I enter the correct password, it's hanging.

enter image description here

I am trying to figure out where to view the MySQL log/error files, but cannot find them on my system.

CodePudding user response:

From the Manual

The error log is located in the data directory specified in your my.ini file. The default data directory location is C:\Program Files\MySQL\MySQL Server 8.0\data, or C:\ProgramData\Mysql on Windows 7 and Windows Server 2008. The C:\ProgramData directory is hidden by default.

CodePudding user response:

They can be found in the hidden folder

C:\ProgramData\MySQL\MySQL Server 8.0\Data

But you should run rhe MySQL installer and reconfigure the server and follow the steps, where you enter the password

  •  Tags:  
  • Related