赞
踩
mysql -uroot -p
ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'your password';
SETPASSWORD = PASSWORD('123456');
mysql-uroot -p
mysqladmin -u root password '123456'
mysql-uroot -p
mysql> update user set Password=password("123456") where User='root';
Query OK, 4 rows affected (0.01 sec)
Rows matched: 4 Changed: 4 W
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。