Mysql (ver=5.7) basic operation statement

--start mysql server  

mysqld --console   

--mysql client login to mysql server   

mysql -u root -p    

--change Password 

set password = 123456; -- modify the current user's password 

set password for 'root'@'localhost' = '123456'; ----Modify the password of the specified user   

 

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324939165&siteId=291194637