[izpack-users] establish mysql connection

Jose Correia jose.correia at traderoot.com
Tue Jan 30 11:18:28 CET 2007

Hi Yossi

Izpaz does not do that for you as far as I know, inside your custom
panel you have to perform the connection creation your self. The jdbc
driver jar file of the permited databases would have to be included in
the build. (check the documentation of the intended JDBC driver, it
should give you an example on how to create the connection and use it).


-----Original Message-----
From: izpack-users-bounces at lists.berlios.de
[mailto:izpack-users-bounces at lists.berlios.de] On Behalf Of garfild
Sent: 24 January 2007 06:13 PM
To: izpack-users at lists.berlios.de
Subject: [izpack-users] establish mysql connection

Hi guys,
I cretaed a UserInput panel that allows the user to insert ip, db name,
user and password.
All this parameters are sent to a panel I created , inside I need to
establish db connection.
In my java code I use Class.forName("com.mysql.jdbc.Driver") for driver
connection, is it the right way?
If so where should I put the driver?
Buttom line, how can izpack create connection with my mysql db?

Yossi Baram
View this message in context:
Sent from the izpack users mailing list archive at Nabble.com.

izpack-users mailing list
izpack-users at lists.berlios.de

More information about the izpack-users mailing list