<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Marketgrid Consulting Blog &#187; MySQL Connector</title>
	<atom:link href="http://www.marketgrid.com/blog/tag/mysql-connector/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.marketgrid.com/blog</link>
	<description>MySQL, website development and performance news</description>
	<lastBuildDate>Wed, 01 Sep 2010 11:00:45 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>MySQL Connector/ODBC 5.1.7</title>
		<link>http://www.marketgrid.com/blog/2010/08/mysql-connectorodbc-5-1-7/</link>
		<comments>http://www.marketgrid.com/blog/2010/08/mysql-connectorodbc-5-1-7/#comments</comments>
		<pubDate>Wed, 25 Aug 2010 07:36:54 +0000</pubDate>
		<dc:creator>Phil Smith</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Releases]]></category>
		<category><![CDATA[MySQL Connector]]></category>
		<category><![CDATA[MySQL Connector/ODBC]]></category>

		<guid isPermaLink="false">http://www.marketgrid.com/blog/?p=303</guid>
		<description><![CDATA[MySQL Connector/ODBC 5.1.7, a new version of the ODBC driver for the MySQL database management system, has been released. This release is the latest release of the 5.1 series and is suitable for use with any MySQL version since 4.1 (It will not work with 4.0 or earlier releases.) Functionality added or changed: * Options [...]]]></description>
			<content:encoded><![CDATA[<p>MySQL Connector/ODBC 5.1.7, a new version of the ODBC driver for the MySQL database management system, has been released. This release is the latest release of the 5.1 series and is suitable for use with any</p>
<p>MySQL version since 4.1 (It will not work with 4.0 or earlier releases.)</p>
<h2>Functionality added or changed:</h2>
<p>* Options in the GUI are grouped on named tabs.</p>
<p>* Added connection option INTERACTIVE that tells driver that client is interactive and interactive_timeout has to be used. (Bug #48603)</p>
<p>* Added parameters arrays support. (Bug #48310)</p>
<p>* SQLTables uses now INFORMATION_SCHEMA. Added connection option to use old code. (Bug #43644)</p>
<p>* Added GUI options for MIN_DATE_TO_ZERO and ZERO_DATE_TO_MIN connection options. (Bug #30539)</p>
<p>Bugs fixed:</p>
<p>* If NO_BACKSLASH_ESCAPES mode is used on a server, escaping binary data can lead to server query parsing errors. (Bug #49029)</p>
<p>* Error if unsupported client character set is encountered(for wchar data). (Bug #36996)</p>
<p>* Binding bit field to a numeric types doesn&#8217;t work. (Bug #32821)</p>
<p>* Conversion flags are not complete. (Bug #43855)</p>
<p>* SQL_ATTR_MAX_ROWS make some SELECT statement invalid. (Bug #49726)</p>
<p>* Certain column attributes aren&#8217;t correct for date columns. (Bug 44576)</p>
<p>* SQLPrepare causes Prefetch of table. (Bug #46411)</p>
<p>* If there are foreign key constraints with same name for tables with same names in 2 schemas, SQLForeignKeys can return rows for both schemas in query about one of those tables. (Bug #49660)</p>
<p>* SQLForeignKeys included in results rows for foreign keys pointing to unique fields (Bug #51422)</p>
<p>* SQLPrimaryKeys returns mangled strings. (Bug #36441)</p>
<p>* Spaces in connection string aren&#8217;t removed (Bug #45378)</p>
<p>* SQLColumns returns wrong transfer octet length. (Bug #53235)</p>
<p>* Retrieving of current catalog at the moment when connection is not ready for that(broken, not all pending results processed) leads to application crash. (Bug #46910)</p>
<p>* SQLForeignKeys unacceptable performance getting imported FK. (Bug #39562)</p>
<p>* SQLTablePrivileges requires SELECT privilege on mysql database. (Bug #50195)</p>
<p>* Column octet length includes terminating null byte. (Bug #54206)</p>
<p>* Wrong type returned by SQLColAttribute(SQL_DESC_PRECISION&#8230;) in 64-bit systems. (Bug #55024)</p>
<p>Built against the client library from MySQL  5.1.46sp1</p>
]]></content:encoded>
			<wfw:commentRss>http://www.marketgrid.com/blog/2010/08/mysql-connectorodbc-5-1-7/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MySQL Connector/J 5.1.13</title>
		<link>http://www.marketgrid.com/blog/2010/06/mysql-connectorj-5-1-13/</link>
		<comments>http://www.marketgrid.com/blog/2010/06/mysql-connectorj-5-1-13/#comments</comments>
		<pubDate>Thu, 24 Jun 2010 16:26:46 +0000</pubDate>
		<dc:creator>Phil Smith</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[MySQL Connector]]></category>

		<guid isPermaLink="false">http://www.marketgrid.com/blog/?p=221</guid>
		<description><![CDATA[MySQL Connector/J 5.1.13, a maintenance release of the production 5.1 branch has been released. Connector/J is the Type-IV pure-Java JDBC driver for MySQL. Version 5.1.13 is suitable for use with any MySQL version including MySQL-5.0, MySQL-5.1 or MySQL-5.5. It is now available in source and binary form from the Connector/J download pages at:  http://dev.mysql.com/downloads/connector/j/5.1.html As [...]]]></description>
			<content:encoded><![CDATA[<p>MySQL Connector/J 5.1.13, a maintenance release of the production 5.1 branch has been released. Connector/J is the Type-IV pure-Java JDBC driver for MySQL.</p>
<p>Version 5.1.13 is suitable for use with any MySQL version including MySQL-5.0, MySQL-5.1 or MySQL-5.5.</p>
<p>It is now available in source and binary form from the Connector/J download pages at:  <a href="http://dev.mysql.com/downloads/connector/j/5.1.html">http://dev.mysql.com/downloads/connector/j/5.1.html</a></p>
<p>As always, we recommend that you check the change log  <a href="http://dev.mysql.com/doc/refman/5.1/en/cj-news.html">http://dev.mysql.com/doc/refman/5.1/en/cj-news.html </a>and &#8220;Upgrading&#8221; sections  <a href="http://dev.mysql.com/doc/refman/5.1/en/cj-upgrading.html">http://dev.mysql.com/doc/refman/5.1/en/cj-upgrading.html</a> in the manual before upgrading as well as the &#8220;CHANGES&#8221; file in the download archive to be aware of changes in behavior that might affect your application.</p>
<p>MySQL Connector/J 5.1.13 includes the following changes targeted at scalability and performance:</p>
<p>- Fixed Bug#51266 &#8211; jdbc:mysql:loadbalance:// would stick to the first host in the list in some cases, especially exacerbated if the host was down.</p>
<p>- Replaced URLs of the form jdbc:mysql://host-1,host-2 with a composite of a normal connection and a jdbc:mysql:loadbalance:// connection for more robustness and cleaner code.</p>
<p>- Fixed BUG#51643 &#8211; Connections using jdbc:mysql:loadbalance:// would have statements (and prepared statements) that did not have their connections changed upon commit()/rollback(), and thus applications that held statement instances past commit()/rollback() could have data written to or read from un-intended connections.</p>
<p>- Fixed BUG#51783 &#8211; Load-balanced connections could throw a SQLException incorrectly on commit() or rollback().  This was not caused by failures in commit or rollback, but rather by the possibility that the newly-selected physical connection was stale.  Added logic to catch and retry if this happens, up to the number of hosts specified for load-balancing.  Also added new property,      loadBalanceValidateConnectionOnSwapServer, which controls whether to explicitly ping the selected host (otherwise, the host is presumed to be up, and will only be noticed if auto-commit or transaction isolation state needs to be set and fails).</p>
<p>- Added loadBalancePingTimeout property to allow a specific timeout to be set for each ping executed against the servers.  This ping is executed when the physical connections are rebalanced (commit/rollback or communication exception), or when a query starting with (exactly) &#8220;/* ping */&#8221; is executed.  The latter causes each open underlying physical connection to be pinged.</p>
<p>- Fixed BUG#51776 &#8211; Connection.rollback() could swallow exceptions incorrectly.</p>
<p>- Fixed BUG#52231 &#8211; Differences in definitions of which SQLExceptions trigger a failover event could result in failure to try more than a single host in certain situations.</p>
<p>- Fixed BUG#52534 &#8211; Performance regression using load-balanced connection.</p>
<p>- More aggressively purge the statement timeout timers after they&#8217;ve been cancelled to trade time for memory. This purge only happens if statement timeouts are in use.</p>
<p>- Added management of running load-balanced connections.  Statistics can be obtained, and hosts added/dropped via com.mysql.jdbc.ConnectionGroupManager or the JMX implementation.  This functionality is enabled by setting the new parameter &#8220;loadBalanceConnectionGroup&#8221; to the name of the logical grouping of connections.</p>
<p>All load-balanced connections sharing the same loadBalanceConnectionGroup value, regardless of how the application creates them, will be managed together.  To enable JMX-based management, set loadBalanceEnableJMX=true and ensure that remote      JMX is enabled in the JRE (eg, use -Dcom.sun.management.jmxremote).</p>
<p>- Added loadBalanceExceptionChecker property, which takes a fully-qualified class name implementing the com.mysql.jdbc.LoadBalancedExceptionChecker interface.  This allows custom evaluation of SQLExceptions thrown to determine whether they should trigger failover to an alternate host in load-balanced deployments.  The default is com.mysql.jdbc.StandardLoadBalanceExceptionChecker.</p>
<p>- Added two new properties which allow more flexibility in determining which SQLExceptions should trigger failover in a load-balanced deployment.  The new &#8220;loadBalanceSQLStateFailover&#8221; property takes a comma-delimited list of SQLState codes which are compared to the SQLState of the SQLException (matching done with trailing wildcard), while &#8220;loadBalanceSQLExceptionSubclassFailover&#8221; takes a comma-delimited list of fully-qualified class/interface names, against which the SQLException is checked to determine if it is an instance of any. Matches trigger failover to an alternate host.</p>
<p>- Fixed Bug#51704 &#8211; Re-written batched statements don&#8217;t honor escape processing flag of their creator.</p>
<p>As well as the following general bug fixes and improvements:</p>
<p>- Fixed BUG#51666 &#8211; StatementInterceptors were never &#8220;un-safed&#8221; after connection establishment, causing interceptors which returned result sets pre/post execution would not work.</p>
<p>- Minor fix in previous patch for Bug#51904. Function ConnectionImpl.setCatalog() was passed quoted argument thus breaking with &#8220;&#8230;for the right syntax to use near &#8216;test&#8220;&#8217;&#8221;</p>
<p>- Fix for Bug#51912 &#8211; Passing NULL as cat. param to getProcedureColumns with !nullCatalogMeansCurrent</p>
<p>- Fix for Bug#52167 &#8211; Can&#8217;t parse parameter list with special characters inside</p>
<p>- Fix for Bug#51904 &#8211; getProcedureColumns() always returns PROCEDURE_CAT result column as NULL</p>
<p>- Fix for Bug#51712 &#8211; Display Size is always 0 for columns returned by getProcedureColumns()</p>
<p>- Fix for Bug#51908 &#8211; db variable might have end up unassigned when calling getProcedureColumns()/Functions(). This is a followup on code changes made for Bug#51022.</p>
<p>- Fixed Bug#43576 &#8211; Sometimes not able to register OUT parameters for  CallableStatements.</p>
<p>- Fixed Bug#54175 &#8211; Driver doesn&#8217;t support utf8mb4 for servers 5.5.2 and newer. The driver now auto-detects servers configured with character_set_server=utf8mb4 or treats the Java encoding &#8220;utf-8&#8243; passed via &#8220;characterEncoding=&#8230;&#8221; as utf8mb4 in the &#8220;SET NAMES=&#8221; calls it makes when establishing the connection.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.marketgrid.com/blog/2010/06/mysql-connectorj-5-1-13/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MySql Connector/Net 6.3.0 alpha</title>
		<link>http://www.marketgrid.com/blog/2010/02/mysql-connectornet-6-3-0-alpha/</link>
		<comments>http://www.marketgrid.com/blog/2010/02/mysql-connectornet-6-3-0-alpha/#comments</comments>
		<pubDate>Tue, 16 Feb 2010 16:35:24 +0000</pubDate>
		<dc:creator>Phil Smith</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Releases]]></category>
		<category><![CDATA[MySQL Connector]]></category>

		<guid isPermaLink="false">http://www.marketgrid.com/blog/?p=111</guid>
		<description><![CDATA[MySQL Connector/Net 6.3.0, a new version of the all-managed .NET driver for MySQL has been released. This is an alpha release and is intended to introduce you to the new features and planned enhancements. This release should not be used in a production environment. It is now available in source and binary form from http://dev.mysql.com/downloads/connector/net/6.3.html [...]]]></description>
			<content:encoded><![CDATA[<p><span>MySQL Connector/Net 6.3.0, a new version of the all-managed .NET driver for  MySQL has been released. This is an alpha release and is intended  to introduce you to the new features and planned enhancements.  This release should not be used in a production environment.</p>
<p>It is now  available in source and binary form from <a href="redir.aspx?C=64b83bbe28364efb9d2621a44d28fc2b&amp;URL=http%3a%2f%2fdev.mysql.com%2fdownloads%2fconnector%2fnet%2f6.3.html" target="_blank">http://dev.mysql.com/downloads/connector/net/6.3.html</a></span></p>
<p><span><br />
The new features or changes in  this release are:</p>
<p>- Visual Studio 2010 RC support<br />
- Nested transaction  scope support</span></p>
<p><span><br />
</span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.marketgrid.com/blog/2010/02/mysql-connectornet-6-3-0-alpha/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MySQL Connector/J 5.1.11</title>
		<link>http://www.marketgrid.com/blog/2010/01/mysql-connectorj-5-1-11/</link>
		<comments>http://www.marketgrid.com/blog/2010/01/mysql-connectorj-5-1-11/#comments</comments>
		<pubDate>Thu, 21 Jan 2010 22:21:55 +0000</pubDate>
		<dc:creator>Phil Smith</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Releases]]></category>
		<category><![CDATA[MySQL Connector]]></category>

		<guid isPermaLink="false">http://www.marketgrid.com/blog/?p=84</guid>
		<description><![CDATA[MySQL Connector/J 5.1.11, a maintenance release of the production 5.1 branch has been released. Connector/J is the Type-IV pure-Java JDBC driver for MySQL. Version 5.1.11 is suitable for use with any MySQL version including MySQL-5.0, MySQL-5.1 or MySQL-5.5. It is now available in source and binary form from the Connector/J download pages at http://dev.mysql.com/downloads/connector/j/5.1.html and [...]]]></description>
			<content:encoded><![CDATA[<p>MySQL Connector/J 5.1.11, a maintenance release of the production 5.1 branch has been released. Connector/J is the Type-IV pure-Java JDBC driver for MySQL.</p>
<p>Version 5.1.11 is suitable for use with any MySQL version including MySQL-5.0, MySQL-5.1 or MySQL-5.5.</p>
<p>It is now available in source and binary form from the Connector/J download pages at</p>
<p><a href="http://dev.mysql.com/downloads/connector/j/5.1.html">http://dev.mysql.com/downloads/connector/j/5.1.html</a></p>
<p>and mirror sites as well as Maven-2 repositories (note that not all mirror sites may be up to date at this point of time &#8211; if you can&#8217;t find this version on some mirror, please try again later or choose another download site.)</p>
<p>As always, we recommend that you check the change log</p>
<p><a href="http://dev.mysql.com/doc/refman/5.1/en/cj-news.html">http://dev.mysql.com/doc/refman/5.1/en/cj-news.html</a></p>
<p>and &#8220;Upgrading&#8221; sections</p>
<p><a href="http://dev.mysql.com/doc/refman/5.1/en/cj-upgrading.html">http://dev.mysql.com/doc/refman/5.1/en/cj-upgrading.html</a></p>
<p>in the manual before upgrading as well as the &#8220;CHANGES&#8221; file in the download archive to be aware of changes in behavior that might affect<br />
your application.</p>
<p>We welcome and appreciate your feedback, bug reports, bug fixes, patches etc.:</p>
<p><a href="http://forge.mysql.com/wiki/Contributing">http://forge.mysql.com/wiki/Contributing</a></p>
<p>MySQL Connector/J 5.1.11 includes the following changes targeted at scalability and performance:</p>
<p>- Fix for BUG#50288 &#8211; NullPointerException possible during invalidateCurrentConnection() for load-balanced connections.</p>
<p>- Fix for BUG#48605 &#8211; Ping for load balanced connections leaves closed connections in liveConnections, causing subsequent Exceptions when that connection is used.</p>
<p>- Fix for BUG#48442 &#8211; Load-balanced Connection object returns inconsistent results for hashCode() and equals() dependent upon state of underlying connections.</p>
<p>- Fix for BUG#48172 &#8211; Batch rewrite requires space immediately after &#8220;VALUES&#8221;</p>
<p>- Fix for BUG#48486 Cannot use load balanced connections with MysqlConnectionPoolDataSource.</p>
<p>- &#8220;Replication&#8221; connections (those with URLs that start with<br />
jdbc:mysql:replication) now use a jdbc:mysql:loadbalance connection<br />
under the hood for the slave &#8220;pool&#8221;. This also means that one can set<br />
load balancing properties such as &#8220;loadBalanceBlacklistTimeout&#8221; and<br />
&#8220;loadBalanceStrategy&#8221; to choose a mechanism for balancing the load and<br />
failover/fault tolerance strategy for the slave pool. This work was done<br />
in order to fix Bug#49537.</p>
<p>- Fixed Bug#36565 &#8211; permgen leak from java.util.Timer. Unfortunately no great<br />
fix exists that lets us keep the timer shared amongst connection instances, so<br />
instead it&#8217;s lazily created if need be per-instance, and torn down when the<br />
connection is closed.</p>
<p>- Fixed BUG#49700 &#8211; Connections from ConnectionPoolDataSource don&#8217;t<br />
maintain any values set with &#8220;sesssionVariables=&#8230;&#8221;. This was a bug<br />
in Connection.changeUser()/resetServerState(), we now resubmit the<br />
session variables during the execution of these methods.</p>
<p>(special thanks to Todd Farmer from the Sun/MySQL support team for the numerous fixes to load-balanced connections!)</p>
<p>As well as the following general bug fixes and improvements:</p>
<p>- Fix for BUG#49607 &#8211; Provide Connection context in ExceptionInterceptor.</p>
<p>- Fix for BUG#49745 &#8211; deleteRow() for updatable result sets can cause full table scan because escaped hex values are used for primary key identifiers.</p>
<p>- Fix for Bug#32525 &#8211; &#8220;noDatetimeStringSync&#8221; doesn&#8217;t work for server-side prepared statements. Now it does.</p>
<p>- Hooked up exception interceptors so they get called now.</p>
<p>- Rev&#8217;d the statement interceptor interface to pass on some server flags, warning counts and errors. See<br />
the com.mysql.jdbc.StatementInteceptorsV2 interface for more details. The driver will create adaptors to<br />
transparently convert older implementations to the newer interface at runtime.</p>
<p>- Statement Interceptors are now enabled at connection instantiation, but<br />
can not return result sets (they will be ignored)  until the connection<br />
has bootstrapped itself. If during the init() method your interceptor<br />
requires access to the connection itself, it should ensure that methods<br />
that might throw exceptions if the connection is closed should handle<br />
this in a robust manner.</p>
<p>- Statement Interceptors didn&#8217;t completely intercept server-side prepared statements.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.marketgrid.com/blog/2010/01/mysql-connectorj-5-1-11/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
