首页 > 数据库技术 > 详细

mysql 开通远程连接

时间:2018-08-07 13:41:09      阅读:125      评论:0      收藏:0      [点我收藏+]

1、mysql -u root -p

输入密码

2、use mysql

3、select host,user,authentication_string from user;

4、update user set host=‘%‘ where user = ‘root‘;

5、grant all privileges on *.* to root@‘%‘ identified by "password";

6、flush privileges;

 

mysql 开通远程连接

原文:https://www.cnblogs.com/liuyanerfly/p/9436454.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!