1. ifconfig查看虚拟机ip
  2. 主机ping 虚拟机ip需ping通windows navicat连接虚拟机mysql
  3. 虚拟机进入mysql 给需要设置的用户授权grant all privileges on . to ‘用户名’@’%’ identified by ‘用户密码’ with grant option;
  4. 查看虚拟机mysql服务是否开启netstat -apn | grep 3306
  5. 修改mysql配置**/etc/mysql/mysql.conf.d/mysqld.cnf**注释红框内容
    windows navicat连接虚拟机mysql

相关文章:

  • 2021-10-26
  • 2021-06-16
  • 2021-07-14
  • 2021-04-29
  • 2021-12-18
  • 2021-08-06
  • 2021-11-10
  • 2022-12-23
猜你喜欢
  • 2021-11-08
  • 2021-09-23
  • 2022-12-23
  • 2021-08-14
  • 2022-12-23
  • 2021-10-12
  • 2021-10-23
相关资源
相似解决方案