[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: problem connecting mysql

micho do-not-reply at jboss.com
Fri May 25 19:16:19 EDT 2007


I found the solution.

The database is bound to the servers IP adress, because I have to talk to it from an other server.

Therefore in mysql-ds.xml
it is wrong to write localhost, though it is the same server.
<connection-url>jdbc:mysql://localhost:3306/JbossDB</connection-url>
we have to spcecify its IP adress
<connection-url>jdbc:mysql://xx.xx.xx.xx:3306/JbossDB</connection-url>

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4048802#4048802

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4048802



More information about the jboss-user mailing list