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:
The default value of this property is
(that is, Connector/J does not use server-side prepared
US-ASCIIas 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)