MySQL Connector/J 5.1 Release Notes

4.1 Changes in MySQL Connector/J 3.1.15 (Not released)

Important change: Due to a number of issues with the use of server-side prepared statements, Connector/J 5.0.5 has disabled their use by default. The disabling of server-side prepared statements does not affect the operation of the connector in any way.

To enable server-side prepared statements you must add the following configuration property to your connector string:

useServerPrepStmts=true

The default value of this property is false (that is, Connector/J does not use server-side prepared statements).

Bugs Fixed

  • Specifying US-ASCII as the character set in a connection to a MySQL 4.1 or newer server does not map correctly. (Bug #24840)

  • The manifest file in the Connector/J JAR package was incorrect. (Bug #15641, Bug #11745464)