Mysql用户密码修改

选择mysql数据库
use mysql;
修改密码
update user set password=password('1234') where user='root';

重启

linux:

service mysqld restart

windows:
net stop mysql
net start mysql

原文地址:https://www.cnblogs.com/jingyunyb/p/3507362.html