快捷导航
 
navicat连接阿里云ESC里的数据库
VIEW CONTENTS

navicat连接阿里云ESC里的数据库

2019-2-19 00:00| 发布者: 智能硬件专家| 查看: 157| 评论: 0|原作者: 智能硬件专家|来自: 网络

1.进入阿里云服务器

  ssh 用户名@ip

2.进入数据库

  mysql -u root -p

3.设置mysql数据库权限(允许其他服务器连接数据库)

   grant all privileges on . to '用户名'@'%' identified by '密码' with grant option;

   grant all privileges on . to 'root'@'%' identified by '123456t' with grant option;

  (ps:想要root用户使用密码123456从任何主机连接到mysql服务器)

修改mysql权限
4.进入数据库mysql查看user表

  select host,user from user

查看是否修改成功
5.本地打开Navicat,进行配置
102403
102404




Tab标签:

鲜花

握手

雷人

路过

鸡蛋
云服务器限时3折优惠

最新评论

推荐快讯更多

乐居居-让生活更智能!

  • 反馈建议:153890879@qq.com
  • 客服电话:
  • 工作时间:周一到周五

云服务支持

精彩文章,快速检索

关注我们

Copyright乐居居  Powered by©  备案号:湘ICP备15009499号-1