navicat连接其他电脑数库

navicat 连接其他电脑的数据库

  • 第一步:先看本电脑是否可以ping通其他的电脑的ip
  • 第二步 在navicat中输入查询命令
  • 第三步:grant all on . to admin@‘%’ identified by ‘123456’ with grant option;
  • flush privileges;
  • grant all privileges on . to ‘root’@‘%’ identified by ‘123456’ with grant option;
  • flush privileges;
  • 完成 ;数据库中的user表中会多权限 两个%