navicat连接阿里云mysql

时间:2021-03-05 06:25:31

1.服务器控制台在安全组配置3306端口

2.进入 /etc/ssh/sshd_config 在最下面 加入下面代码

KexAlgorithms diffie-hellman-group1-sha1,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha1
Ciphers 3des-cbc,blowfish-cbc,aes128-cbc,aes128-ctr,aes256-ctr

然后执行

ssh-keygen -A

最后重启SSH

service ssh restart

3.navicat配置

navicat连接阿里云mysql

navicat连接阿里云mysql

参考资料:

https://www.cnblogs.com/yidiandhappy/p/7404674.html

https://blog.csdn.net/liuhailiuhai12/article/details/64124637