mysql new users can not log in problem solving ERROR 1045 (28000)

mysql users can not log in to add a new solution ERROR 1045 ( 28000 ): Access denied for the User ' appadmin ' @ ' localhost ' ( a using password: YES)

In the construction of the fort machine jumpserver, after installing mysql encounter such a problem:

After new users jumpserver, not land, reported the above error.

Solution:

Solution: 
After increasing the average user, execute: 
MySQL > use MySQL 
MySQL > the Delete from the User the WHERE the User = '' ; 
MySQL > flush privileges; 
mean delete anonymous users

授权即可。
GRANT ALL PRIVILEGES ON *.* TO 'jumpserver'@'localhost' IDENTIFIED BY 'somepassword' WITH GRANT OPTION;

 

Guess you like

Origin www.cnblogs.com/tigergaonotes/p/11116656.html