mysql 修改root密码或忘记root密码

来源:互联网 发布:浙大教务网络管理系统 编辑:程序博客网 时间:2024/05/16 13:53

修改root密码"

update user set password=password('123') where user='root' and host='localhost';

pkill mysql 或者/etc/init.d/mysql stop

原创粉丝点击