Introduction - If you have any usage issues, please Google them yourself
3, use the following command to change the password: shell> mysqladmin-u root-p password newpass Enter Password :******* the Enter Password prompt appears enter the original password after you oldpass. Readers can try all other methods described in this chapter. 4, first of all to root the identity of the user to connect to the server: shell> mysql-u root-p Enter password :******* appear Enter password to enter the root after the user s password, and then entering the mysql client interactive mode , we can see the following prompt: Welcome to the MySQL monitor. Commands end with or g.Your MySQL connection id is 4 to server version: 3.23.25-beta-logType help or h for help. Type c to clear the buffermysql> and then release inquiries, directly type the subject of statement: mysql> SELECT User, Host FROM mysql.user