USA - Toll Free: +1-866-221-0634
USA - From abroad: +1-208-327-6494
USA - Subscription Renewals: +1-866-830-4410
Latin America: +1 512 535 7751
UK: +44 845 399 1124
Ireland: +353 1 6919191
Germany: +49 89 420 95 98 95
France: +33 1 70 61 48 95
Sweden: +46 730 207 871
Benelux: +358 50 5710 528
Italy: +39 06-99268193
Israel: +358 50 5710 528
Spain & Portugal: + 34 933905461
Other EMEA countries: +353 1 6919191
Asia Pacific: +81 3 5843 1140
Learn about new MySQL releases, technical articles, events and more.
MySQL Connector/J is a native Java driver that converts JDBC (Java Database Connectivity) calls into the network protocol used by the MySQL database. It lets developers working with the Java programming language easily build programs and applets that interact with MySQL and connect all corporate data, even in a heterogeneous environment. MySQL Connector/J is a Type IV JDBC driver and has a complete JDBC feature set that supports the capabilities of MySQL.
The latest production version of the driver is now 50-100 percent faster in most situations than the previous version. It also creates fewer transient objects than before, leading to better performance and even more stability. The driver now also supports "streaming" result sets, which allows users to retrieve large numbers of rows without using a large memory buffer. With newly added large-packet protocol support, the driver can send rows and BLOBs up to 2 gigabytes in size.
New features from the JDBC-3.0 API in the latest production version of MySQL
Connector/J include getGeneratedKeys which allows users to
retrieve auto-increment fields in a non-database-specific way. Auto-increment
fields now work with object-relational mapping tools, as well as Enterprise
Java Beans (EJB) servers with Container Managed Persistence (CMP) that support
JDBC-3.0.
The development version is being refactored to support new features in conjunction with version 4.1 of the MySQL database server, including server-side prepared statements and improved handling of multiple simultaneous character sets, including Unicode in the UCS2 and UTF8 encodings.
Two versions of MySQL Connector/J are available for download:
Commercial licenses for either version can also be purchased from MySQL AB, for those who don't wish to be bound by the GPL. For more information on licensing MySQL Connector/J, please contact us. MySQL AB also offers commercial support for MySQL Connector/J.
MySQL Connector/J is known to work with the following database tools and application servers:

