Local computer service mysql start after stop

Mysql problems encountered:

Local computer service mysql start after stop

 

https://blog.csdn.net/Long861774/article/details/82701303



encountered sql problem
ERROR 1054 (42S22): Unknown column 'password' in 'Field, List'
https://www.cnblogs.com/wangbaobao/ p / 7087032.html


met today mysql startup problems:
connect to the database met in 1045 mysql tools, stopped after startup problems connecting to the database
and then I go online to find a solution
met https://blog.csdn.net/lzf_hlh/ article / details / 80885139
this tells me is that this mistake had this to say:

1045 access denied for the user 'root' @ 'localhost' (a using password: YES)

this means that: access to the user "root" @ local host is denied

Why such a mistake will happen?

The answer is this: the nature of this problem is the user's password error.

How then to solve it?
Found my.ini MySQL installation file path, is opened by Notepad embodiment;
open, mysqld find this location, this document has a plurality mysqld, Note the position of the arrow

 

 

Another is https://blog.csdn.net/qq_37915248/article/details/83005946, the brother shows the two methods in the blog, because I did it the first method, so do not be second.

The first brother did not say, first shut down the service, and then modify the .ini files

 

Guess you like

Origin www.cnblogs.com/wyh1997/p/11752350.html