升级DataGrip至版本2021.3.2后,我的现有数据库连接断开了。我通过配置连接到AWS堡垒机的SSH隧道连接各种数据库(Oracle,MySql)。
升级后,DataGrip建议将MySql驱动程序更新为Amazon Aurora MySQL驱动程序,但原来可以连接的地方现在无法连接。
在不同的驱动程序之间切换,我得到两个单独的错误:
使用Amazon Aurora MySQL(升级后建议使用的驱动程序)的第一个错误如下:
[08000][-1] Could not connect to address=(host=localhost)(port=53929)(type=master) : (conn=57522706) could not load system variables[08000][1220] (conn=57522706) Connection is closed.
使用原始MySQL驱动程序的第二个错误如下:
[08S01] Communications link failure The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server. No appropriate protocol (protocol is disabled or cipher suites are inappropriate).
在DataGrip升级前,所有的连接都可以正常工作 - 看起来升级需要新的驱动程序,但这些驱动程序与我的连接方式存在问题。
升级后,DataGrip建议将MySql驱动程序更新为Amazon Aurora MySQL驱动程序,但原来可以连接的地方现在无法连接。
在不同的驱动程序之间切换,我得到两个单独的错误:
使用Amazon Aurora MySQL(升级后建议使用的驱动程序)的第一个错误如下:
[08000][-1] Could not connect to address=(host=localhost)(port=53929)(type=master) : (conn=57522706) could not load system variables[08000][1220] (conn=57522706) Connection is closed.
使用原始MySQL驱动程序的第二个错误如下:
[08S01] Communications link failure The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server. No appropriate protocol (protocol is disabled or cipher suites are inappropriate).
在DataGrip升级前,所有的连接都可以正常工作 - 看起来升级需要新的驱动程序,但这些驱动程序与我的连接方式存在问题。