本文主要是介绍No appropriate protocol -- Mysql,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
DataGrip连接mysql报以下异常信息:
javax.net.ssl.SSLHandshakeException: No appropriate protocol (protocol is disabled or cipher suites are inappropriate)
The following required algorithms might be disabled: SSLv3, TLSv1, TLSv1.1, RC4, DES, MD5withRSA, DH keySize < 1024, EC keySize < 224, 3DES_EDE_CBC, anon, NULL, include jdk.disabled.namedCurves. Edit the list of disabled algorithms to include required algorithms. You can try to enable TLSv1 or TLSv1.1 first.
JDBC driver may have disabled TLS 1.1 and its earlier versions.
解决办法:
将VM options的TLSv1改为TLSv1.1
修改前:
修改后
这篇关于No appropriate protocol -- Mysql的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!