What is the jdbc driver quot;org.gjt.mm.mysql.Driverquot; for?(jdbc驱动“org.gjt.mm.mysql.Driver是什么?为了?)
问题描述
在接手同事的项目后,我注意到他使用org.gjt.mm.mysql.Driver"作为 MySQL 5 的 jdbc 驱动程序,而不是更常见的com.mysql.jdbc.Driver".它们都包含在我在 Maven 中心找到的驱动程序中,该驱动程序似乎是驱动程序的标准发行版.
After taking over a coworker's project I noticed he was using "org.gjt.mm.mysql.Driver" as the jdbc driver for MySQL 5 instead of the more common one "com.mysql.jdbc.Driver". They both are contained in the driver I found on Maven central that appears to be the standard distribution of the driver.
当我查找 gjt.org 时,我发现了一些旧网站,上面提到了Mark 的 mysql 驱动程序".
When I look up gjt.org I found some old site that talks about "Mark's mysql driver".
http://gjt.org/
推荐答案
MySQL JDBC 驱动程序最初是由一个爱好者开发的.它后来捐赠给 MySQL,他们在那里重命名了包/类名.保留旧的类名是为了向后兼容,但如果可以,您应该尽快将其更新为 com.mysql.jdbc.Driver
.
The MySQL JDBC driver was initially developed by a hobbyist. It's later donated to MySQL where they renamed the package/classname. The old classname is kept for backwards compatibility reasons, but if you can, you should update it to com.mysql.jdbc.Driver
as soon as possible.
这篇关于jdbc驱动“org.gjt.mm.mysql.Driver"是什么?为了?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:jdbc驱动“org.gjt.mm.mysql.Driver"是什么?为了?


- 以一个值为轴心,但将一行上的数据按另一行分组? 2022-01-01
- 更改自动增量起始编号? 2021-01-01
- SQL 临时表问题 2022-01-01
- 使用 Oracle PL/SQL developer 生成测试数据 2021-01-01
- 如何将 Byte[] 插入 SQL Server VARBINARY 列 2021-01-01
- 在SQL中,如何为每个组选择前2行 2021-01-01
- 如何使用 pip 安装 Python MySQLdb 模块? 2021-01-01
- 导入具有可变标题的 Excel 文件 2021-01-01
- 远程 mySQL 连接抛出“无法使用旧的不安全身份验证连接到 MySQL 4.1+"来自 XAMPP 的错误 2022-01-01
- 如何将 SonarQube 6.7 从 MySQL 迁移到 postgresql 2022-01-01