您好,欢迎来到舟格财经。
搜索
您的当前位置:首页mysql如何设置密码_MySQL

mysql如何设置密码_MySQL

来源:舟格财经


bitsCN.com
有很多方法:1.用root 进入mysql后mysql>set password =password('你的密码');mysql>flush privileges;
2.使用GRANT语句 mysql>grant all on *.* to 'root'@'localhost' IDENTIFIED BY '你的密码'with grant option ;mysql>flush privileges;
3.进入mysql库修改user表mysql>use mysql;mysql>update user set password=password('你的密码') where user='root'; mysql>flush privileges;
bitsCN.com

Copyright © 2019- zougedi.com 版权所有

违法及侵权请联系:TEL:199 18 7713 E-MAIL:2724546146@qq.com

本站由北京市万商天勤律师事务所王兴未律师提供法律服务