[jboss-user] [JBoss Portal] - Re: MySQL strange hostname problem

michaelchan do-not-reply at jboss.com
Thu Jun 12 19:33:37 EDT 2008


"prabhat.jha at jboss.com" wrote : First, you should only have portal-mysql-ds.xml (or whatever name you give it as long as it's named like *-dx.xml). You can leave hsqldb-ds.xml untouched. I would suggest you double check this file or you can paste the contents here.

content of portal-mysql-ds.xml:

<?xml version="1.0" encoding="UTF-8"?>

  <local-tx-datasource>
    <jndi-name>PortalDS</jndi-name>
    <connection-url>jdbc:mysql://localhost:3306/jbossportal?useServerPrepStmts=fals</connection-url>
    <driver-class>com.mysql.jdbc.Driver</driver-class>
    <user-name>jbossportal</user-name>
    jboss
  </local-tx-datasource>



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

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



More information about the jboss-user mailing list