After solving MySQL new user can not log on problems

 

 

In PHPMyAdmin in creating a new user, and create a password, but has been unable to use this account to log in to MySQL.

Resolution process to share to you ~

1. Log in as root mysql

2. Delete the default MySQL in the presence of a user account name is empty

3. Create a user test1, 1234

4. Try to log test1 failed (because they have not authorized)

5. First, create a database (testDB) for the user, in giving it a game-high identity

6. Try again test1 user logon, successful friends ~

7. The course can also be logged in phpmyadmin

 

In PHPMyAdmin in creating a new user, and create a password, but has been unable to use this account to log in to MySQL.

Resolution process to share to you ~

1. Log in as root mysql

2. Delete the default MySQL in the presence of a user account name is empty

3. Create a user test1, 1234

4. Try to log test1 failed (because they have not authorized)

5. First, create a database (testDB) for the user, in giving it a game-high identity

6. Try again test1 user logon, successful friends ~

7. The course can also be logged in phpmyadmin

 

Guess you like

Origin www.cnblogs.com/gaodi2345/p/11202827.html