[jboss-user] [jBPM] - Re: MySQL database connection error
Zoltan Papp
do-not-reply at jboss.com
Thu Mar 28 13:57:03 EDT 2013
Zoltan Papp [https://community.jboss.org/people/pzoli] created the discussion
"Re: MySQL database connection error"
To view the discussion, visit: https://community.jboss.org/message/805364#805364
--------------------------------------------------------------
Okay, let's speak english.
My persistance.xml in a JPA/CDI project:
<datasources xmlns=" http://www.jboss.org/ironjacamar/schema http://www.jboss.org/ironjacamar/schema" xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation=" http://www.jboss.org/ironjacamar/schema http://www.jboss.org/ironjacamar/schema http://docs.jboss.org/ironjacamar/schema/datasources_1_0.xsd http://docs.jboss.org/ironjacamar/schema/datasources_1_0.xsd">
<!-- The datasource is bound into JNDI at this location. We reference
this in META-INF/persistence.xml -->
<datasource jndi-name="java:jboss/datasources/sample-multi-tierDS"
pool-name="{artifactId}" enabled="true"
use-java-context="true">
<connection-url>jdbc:mysql://localhost:3306/bigfilesystem?useUnicode=true&autoReconnect=true&characterEncoding=UTF-8</connection-url>
<driver>com.mysql</driver>
<security>
<user-name>username</user-name>
<password>password</password>
</security>
</datasource>
</datasources>
Did you install mysql driver to JBoss modules/com/mysql subdirectory?
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/805364#805364]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20130328/5cbc3bcd/attachment.html
More information about the jboss-user
mailing list