首页 电脑 电脑学堂 查看内容

修改root可以远程连接mysql

2011-10-17 21:06 443 0

摘要:   1、以root用户登录mysql后,执行如下命令:  2、输入use mysql;  3、输入grant all privileges on *.* to root@‘%’ identified ...
关键词: 输入 privileges mysql root identified 命令 密码 登录 用户 grant

  1、以root用户登录mysql后,执行如下命令:  2、输入use mysql;  3、输入grant all privileges on *.* to root@‘%’ identified by ‘密码’;  4、输入flush privileges;
声明:文章版权归原作者所有 部分文章转自互联网 如有侵权请联系 [邮箱地址] 删除

路过

雷人

握手

鲜花

鸡蛋

最新评论

返回顶部