To connect to MYSQL, use the information provided in Table 1–5 to complete the Connect to Database step of the JDBC/ODBC OTD Wizard.
Table 1–5 MySQL Connector/J Driver Database Connection Information
Parameter |
Value |
---|---|
Driver Jar Files |
mysql-connector-java-3.0.11-stable-bin.jar |
Driver Java Class Name |
com.mysql.jdbc.Driver |
URL Connection String |
jdbc:mysql://server-name:server-port/database-name Note – NOTE: Default server port is 3306 |
User Name |
Login name of the account used to access the database. |
Password |
Password associated with the login account name used to connect to the database. |
Use Table 1–6 to configure the environment properties for the specified JDBC/ODBC driver.
Table 1–6 MySQL Connector/J Driver Environment Properties
Parameter |
Value |
---|---|
Description |
JDBC Connection Pool Datasource |
ClassName |
ccom.mysql.jdbc.jdbc2.optional.MysqlConnectionPoolDataSource |
ClassNamefor OtherInterfaces | |
ServerName |
Server name of the machine hosting the database. |
PortNumber |
server-port Note – NOTE: Default server port is 3306. |
DatabaseName |
database-name |
User |
Login name of the account used to access the database. |
Password |
Password associated with the login account name used to connect to the database. |
DriverProperties | |
Delimiter |
The default is #. |
DataSourceName | |
MinPoolSize |
The default is 0. |
MaxPoolSize |
The default is 10. |
MaxIdleTime |
The default is 0. |
It is not mandatory to enter driver properties in the Outbound JDBC eWay Environment properties for MySQL.