Gussu caterpillar 2022-01-26 14:30:57 阅读数:819
Recently reinstalled Mysql, When logging in the next day, I found an error .
Console login prompt :
Open with administrative privileges CMD
Command line window , Enter your local Mysql
In the installation path of bin
Catalog
Execution instruction :mysqld --initialize --user=root --console
The red box in the figure is the password after initialization , Then use this password to log in successfully .
One more thing before that is to start Mysql, Start with command .
net start mysql
If you change the password, use the command :set password='root';
Just OK 了
copyright:author[Gussu caterpillar],Please bring the original link to reprint, thank you. https://en.javamana.com/2022/01/202201261430543784.html