ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From xianwinwin <xianwin...@gmail.com>
Subject JDBC.ConnectionURL problem. Changed from 'localhost' to 'IP-number'
Date Thu, 25 Sep 2008 22:35:37 GMT

Hi all,

my application runs great on my localhost. now, after all is done, I deploy
the application on a remote site.
so some changes should apply.

on my localhost i have:
<property name="JDBC.ConnectionURL"
value="jdbc:mysql://localhost:3306/my_db"/>


and on the remote I did:
<property name="JDBC.ConnectionURL"
value="jdbc:mysql://69.89.12.165:3306/my_db"/>

but this doesn't work....any suggestions? did I forget anything?

Thank you


* error message:

--- The error occurred in com/persistence/ibatis/SqlMap/email_SqlMap.xml.  
--- The error occurred while executing mapped statement.  
--- Check the email.abatorgenerated_insert.  
--- Check the statement or the result map.  
--- Cause: java.sql.SQLException: No suitable driver found for
jdbc:mysql:/69.89.12.165:3306/itc_registration_db
Caused by: java.sql.SQLException: No suitable driver found for
jdbc:mysql:/69.89.12.165:3306/my_db
Caused by: com.ibatis.common.jdbc.exception.NestedSQLException:   
-- 
View this message in context: http://www.nabble.com/JDBC.ConnectionURL-problem.-Changed-from-%27localhost%27-to-%27IP-number%27-tp19679603p19679603.html
Sent from the iBATIS - User - Java mailing list archive at Nabble.com.


Mime
View raw message