• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
 






zhp_king

 
 

Powered by 博客园
博客园 | 首页 | 新随笔 | 联系 | 订阅 订阅 | 管理

2018年4月30日

navicat连接阿里云mysql
摘要: 1.服务器控制台在安全组配置3306端口 2.进入 /etc/ssh/sshd_config 在最下面 加入下面代码 KexAlgorithms diffie-hellman-group1-sha1,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ec 阅读全文
posted @ 2018-04-30 16:53 zhp_king 阅读(136) 评论(0) 推荐(0)
 
php连接阿里云mysql
摘要: 1.开启Mysql远程访问端口 现在服务器控制台,安全组那边开启3306端口 2.修改Mysql配置文件 vim /etc/mysql/mysql.conf.d/mysqld.cnf,找到bind-address = 127.0.0.1,注释掉 3.服务器登录mysql 运行grant all on 阅读全文
posted @ 2018-04-30 16:41 zhp_king 阅读(349) 评论(0) 推荐(0)