This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallAnywhere
- :
- InstallAnywhere Forum
- :
- Re: User-specified MySQL JDBC jar for Database Server
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
‎Oct 06, 2009
11:05 AM
User-specified MySQL JDBC jar for Database Server
Hi,
I am unable to ship the MySQL JDBC driver with my application for licensing reasons.
To get around this, I have a "Choose File" panel that tells the user of my installer to download the MySQL JDBC driver themselves and point me to their driver. The path to the driver they downloaded is stored in an InstallAnywhere variable (i.e. $MYSQL_DRIVER_PATH$).
I would like to run an SQL script using the MySQL JDBC driver stored in that InstallAnywhere variable. But, this does not seem possible.
When I go to configure a MySQL Database Server Host, I click on the "Custom Driver Settings" checkbox and put "com.mysql.jdbc.Driver" under the JDBC Driver Class heading.
However, I am unable to put $MYSQL_DRIVER_PATH$ under the Dependencies section.
Does anyone have any ideas how I might get this to work?
Or, is there an alternative to this that might work?
Thanks for the help,
Matt
I am unable to ship the MySQL JDBC driver with my application for licensing reasons.
To get around this, I have a "Choose File" panel that tells the user of my installer to download the MySQL JDBC driver themselves and point me to their driver. The path to the driver they downloaded is stored in an InstallAnywhere variable (i.e. $MYSQL_DRIVER_PATH$).
I would like to run an SQL script using the MySQL JDBC driver stored in that InstallAnywhere variable. But, this does not seem possible.
When I go to configure a MySQL Database Server Host, I click on the "Custom Driver Settings" checkbox and put "com.mysql.jdbc.Driver" under the JDBC Driver Class heading.
However, I am unable to put $MYSQL_DRIVER_PATH$ under the Dependencies section.
Does anyone have any ideas how I might get this to work?
Or, is there an alternative to this that might work?
Thanks for the help,
Matt
(4) Replies
‎Oct 07, 2009
02:47 AM
Please see this thread: http://community.acresso.com/showthread.php?t=185645
‎Oct 07, 2009
08:14 AM
There were two issues in that thread and one of them does not seem to be resolved in IA 2009 SP 1.
I'm using IA 2009 SP 1. It doesn't fix the problem I've described where you want to use the MySQL JDBC driver from the user (instead of one packaged with your installer).
I'm using IA 2009 SP 1. It doesn't fix the problem I've described where you want to use the MySQL JDBC driver from the user (instead of one packaged with your installer).
‎Oct 07, 2009
12:05 PM
Well, the other option is to license from Mysql (Sun (Oracle)) the right to redistribute the connector (see: http://solutions.mysql.com/partners/)