navicat连接阿里云mysql
摘要:1.服务器控制台在安全组配置3306端口 2.进入 /etc/ssh/sshd_config 在最下面 加入下面代码 KexAlgorithms diffie-hellman-group1-sha1,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ec
阅读全文
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
阅读全文