您好,欢迎来到三六零分类信息网!老站,搜索引擎当天收录,欢迎发信息

mysql如何设置密码_MySQL

2024/6/17 21:07:36发布20次查看
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
该用户其它信息

VIP推荐

免费发布信息,免费发布B2B信息网站平台 - 三六零分类信息网 沪ICP备09012988号-2
企业名录 Product