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.
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
