mirror of https://github.com/apache/activemq.git
Bug: error is throw with the sample config of MySQL.
Fix: set relaxAutoCommit to true on url under MySQL sample config. git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@378435 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
974f4172bc
commit
4dd80d3369
|
@ -64,7 +64,7 @@
|
||||||
<!--
|
<!--
|
||||||
<bean id="mysql-ds" class="org.apache.commons.dbcp.BasicDataSource" destroy-method="close">
|
<bean id="mysql-ds" class="org.apache.commons.dbcp.BasicDataSource" destroy-method="close">
|
||||||
<property name="driverClassName" value="com.mysql.jdbc.Driver"/>
|
<property name="driverClassName" value="com.mysql.jdbc.Driver"/>
|
||||||
<property name="url" value="jdbc:mysql://localhost/activemq"/>
|
<property name="url" value="jdbc:mysql://localhost/activemq?relaxAutoCommit=true"/>
|
||||||
<property name="username" value="activemq"/>
|
<property name="username" value="activemq"/>
|
||||||
<property name="password" value="activemq"/>
|
<property name="password" value="activemq"/>
|
||||||
<property name="poolPreparedStatements" value="true"/>
|
<property name="poolPreparedStatements" value="true"/>
|
||||||
|
|
Loading…
Reference in New Issue