<?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>Codedrop™ Weblog &#187; MySQL</title>
	<atom:link href="http://www.codedrop.ca/blog/archives/category/programming/mysql/feed" rel="self" type="application/rss+xml" />
	<link>http://www.codedrop.ca/blog</link>
	<description>Drop'n some code and other tech tidbits...</description>
	<lastBuildDate>Mon, 26 Jul 2010 16:45:02 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>MySQL and Connector/J Bug</title>
		<link>http://www.codedrop.ca/blog/archives/6</link>
		<comments>http://www.codedrop.ca/blog/archives/6#comments</comments>
		<pubDate>Sat, 19 Feb 2005 17:42:05 +0000</pubDate>
		<dc:creator>groll</dc:creator>
				<category><![CDATA[MySQL]]></category>

		<guid isPermaLink="false">http://www.codedrop.ca/blog/?p=6</guid>
		<description><![CDATA[After attempting to upgrade to the latest MySQL and Connector/J libraries, started noticing the following error in my Jboss logs:
&#8220;You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near &#8216;?&#8217; at line 1&#8243; [#13]
The following answer was found in the [...]]]></description>
			<content:encoded><![CDATA[<p>After attempting to upgrade to the latest MySQL and Connector/J libraries, started noticing the following error in my Jboss logs:</p>
<p>&#8220;You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near &#8216;?&#8217; at line 1&#8243; [#13]</p>
<p>The following answer was found in the <a href="http://www.rollerweblogger.org/wiki/Wiki.jsp?page=InstallationFAQs">Roller FAQ</a>:</p>
<p>This appears to be due to a MySQL and Connector/J bug that occurs if you use the MySQL 4.1.X server with Connector/J 3.1.X drivers. We recommend that you use the Connector/J 3.0.16 (or later 3.0.X series) drivers with MySQL 4.1.X to avoid this. You can download them from the MySQL site. Drop the jar in your CATALINA_HOME/common/lib and remove any 3.1.X drivers that you have there. An alternate workaround that will allow you to keep the Connector/J 3.1.X drivers is to disable use of server-side prepared statements by setting the additional property useServerPrepStmts=false in both of the MySQL JDBC URLs in the context configuration.</p>
<p align="left"><a class="tt" href="http://twitter.com/home/?status=MySQL+and+Connector%2FJ+Bug+http://38cce.th8.us" title="Post to Twitter"><img class="nothumb" src="http://www.codedrop.ca/blog/wp-content/plugins/tweet-this/icons/tt-twitter.png" alt="Post to Twitter" /></a> <a class="tt" href="http://twitter.com/home/?status=MySQL+and+Connector%2FJ+Bug+http://38cce.th8.us" title="Post to Twitter">Tweet This Post</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.codedrop.ca/blog/archives/6/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
