1.使用宝塔 命令快速配置:mysql
2.*重点:配置ecs实例安全组 3306 端口开发 0.0.0.0/0 注意:出入都有配置,不然连接不上,还有就是 etc/my.conf 文件就在 [mysqld] 下
加入
bind-address = 0.0.0.0
skip-name-resolve

另外在linux中:mysql不区分大小写:需要 [mysqld] 加入:
不然 查不到数据 哈哈
lower_case_table_names=1
3 还连接不是可能是数据库用户权限
自己搜索一下权限配置
阿里云ecs 配置mysql navicat连接问题

相关文章:

  • 2022-01-14
  • 2021-08-18
  • 2022-12-23
  • 2021-04-24
  • 2021-12-12
  • 2022-02-09
  • 2021-12-02
  • 2021-12-23
猜你喜欢
  • 2021-12-22
  • 2021-08-03
  • 2022-12-23
  • 2021-12-07
  • 2021-12-27
  • 2021-09-14
  • 2021-09-27
相关资源
相似解决方案