简体   繁体   English

我该如何解决-无法下载mysql连接器.jar ...收到致命警报:protocol_version?

[英]How could I solve - Failed to download mysql connector .jar… Received fatal alert: protocol_version?

phpStorm错误的屏幕截图 I am trying to download the missing driver files on phpStorm for mySQL. 我正在尝试在phpStorm上为mySQL下载缺少的驱动程序文件。 I keep getting this error: 我不断收到此错误:

Failed to download 'https://repo1.maven.org/maven2/mysql/mysql-connector-java/5.1.47/mysql-connector-java-5.1.47.jar': Received fatal alert: protocol_version

I haven't found any solutions to this problem online. 我没有在线找到任何解决此问题的方法。 Would really appreciate if someone could let me know how I could achieve this. 如果有人能让我知道如何实现这一目标,我将非常感激。

Thanks! 谢谢!

I recommend taking a look in IDE log files to see if they may have additional details as to why the download is failing. 我建议查看IDE日志文件,以查看它们是否可能包含有关下载失败原因的更多详细信息。

Use Java 8 and also It needs to enable TLS 1.2 protocol with Java property in the command line. 使用Java 8,还需要在命令行中使用Java属性启用TLS 1.2协议。

mvn -Dhttps.protocols=TLSv1.2 install

Additionally, you can download the file and install them manually. 此外,您可以下载文件并手动安装它们。

I couldn't find any official JetBrains MySQL driver repo page, but I found some old URLs that are official and work, 我找不到任何正式的JetBrains MySQL驱动程序回购页面,但是我发现了一些正式且有效的旧URL,

http://download.jetbrains.com/idea/jdbc-drivers/mysql-connector-java-5.1.45-bin.jar http://download.jetbrains.com/idea/jdbc-drivers/mysql-connector-java-5.1.46-bin.jar http://download.jetbrains.com/idea/jdbc-drivers/mysql-connector-java-5.1.45-bin.jar http://download.jetbrains.com/idea/jdbc-drivers/mysql-connector-java -5.1.46-bin.jar

And also you can get all the old to latest MySQL Connectors versions from the Maven Repository . 而且,您还可以从Maven存储库中获取所有旧的到最新的MySQL连接器版本。

PS: To know how to add an external MySQL Connector library to PhpStorm . PS:要了解如何向PhpStorm添加外部MySQL连接器库。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何修复 (SSLException) 收到致命警报:Java 中的协议版本 - How to fix (SSLException) Received fatal alert: protocol_version in Java Apache Karaf - 收到致命警报:protocol_version - Apache Karaf - Received fatal alert: protocol_version 收到致命警报:protocol_version 构建失败 Gradle/Maven - Received fatal alert: protocol_version build failure Gradle/Maven 如何在java中设置SSL协议版本? 我怎么知道是哪一个? javax.net.ssl.SSLException:收到致命警报:protocol_version - How do I set SSL protocol version in java? And how do I know which one? javax.net.ssl.SSLException: Received fatal alert: protocol_version 无法传输工件 (https://repo.maven.apache.org/maven2):收到致命警报:protocol_version -> [帮助 1] - Could not transfer artifact (https://repo.maven.apache.org/maven2): Received fatal alert: protocol_version -> [Help 1] Maven 致命警报:protocol_version - Maven Fatal alert: protocol_version javax.mail - 强制 IMAP 使用 TLS1.2+ - “收到致命警报:protocol_version” - javax.mail - force IMAP to use TLS1.2+ - "Received fatal alert: protocol_version" 获取异常 javax.net.ssl.SSLHandshakeException:收到致命警报:protocol_version - Getting an exception javax.net.ssl.SSLHandshakeException: Received fatal alert: protocol_version 无法使用 maven web 项目在 Z69F0F6923BC1F8AAA26B96BCZ 项目中创建新的 java 因收到致命警报协议2: - Can not to create new java with maven web project in NetBeans due Received fatal alert: protocol_version 调用 Web 服务:javax.net.ssl.SSLException:收到致命警报:protocol_version - Calling web service: javax.net.ssl.SSLException: Received fatal alert: protocol_version
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM