我在windows机器上使用Toad连接到远程ubuntu linux服务器上的mysql。但它并没有把它连接起来。它显示"Can't connect to SSH server on '':无法连接到SSH服务器,因为目标机器主动拒绝了它22。“我猜22是ssh端口,我提供了默认的mysql数据库服务器端口,即3306。我不知道发生了什么
我已经成功地通过从我的python应用程序连接到mysql服务器。
问题是我使用的是tls版本1,但我希望至少使用tls 1.2
在mysql服务器上,我只设置使用tls1.1和1.2。当我尝试连接到mysql时,python会抱怨版本错误。
mysql.connector.errors.InterfaceError: 2055:
Lost connection to MySQL server `at '192.168.99.100:3306',`
system error: 1 [SSL: WRONG_VERSION_NUMBER] wrong version numbe