JDBC Connection/text/shared/explorer/database/dabawiz02jdbc.xhpJDBC; databases (Base)databases; JDBC (Base)mw copied 2 index entries from shared/explorer/database/11110000.xhpJDBC Connection
Specifies the options to access a JDBC database.copied text from shared\explorer\database\11110000JDBC ExamplesYou can use a JDBC driver class to connect to a JDBC database from %PRODUCTNAME. The driver class is provided by the database manufacturer. Two examples of JDBC databases are Oracle and MySQL.The driver classes must be added to %PRODUCTNAME in %PRODUCTNAME - PreferencesTools - Options - %PRODUCTNAME - Java.UFI: #i38525#Oracle databaseYou can use a JDBC driver to access an Oracle database from Solaris or Linux. To access the database from Windows, you need an ODBC driver.On UNIX, ensure that the Oracle database client is installed with JDBC support. The JDBC driver class for the Solaris Oracle client version 8.x is located in the <Oracle client>/product/jdbc/lib/classes111.zip directory. You can also download the latest version from the Oracle web site:http://otn.oracle.com/tech/java/sqlj_jdbc/content.htmlIn the Data source URL box, enter the location of the Oracle database server. The syntax of the URL depends on the database type. See the documentation that came with the JDBC driver for more information. For an Oracle database, the syntax of the URL is:oracle:thin:@hostname:port:database_namehostname is the name of the machine that runs the Oracle database. You can also replace hostname with the IP address of the server.port is the port where the Oracle database listens. Ask your database administrator for the correct port address.database_name is the name of the Oracle database. Ask your database administrator for the correct name.MySQL databaseThe driver for the MySQL database is available on the MySQL web site.removed link, see i54077The syntax for a MySQL database is:mysql://hostname:port/database_namehostname is the name of the machine that runs the MySQL database. You can also replace hostname with the IP address of the server.port is the default port for MySQL databases, namely 3306.database_name is the name of the database.Data source URLEnter the URL for the database. For example, for the MySQL JDBC driver, enter "jdbc:mysql://<Servername>/<name of the database>". For more information on the JDBC driver, consult the documentation that came with the driver.JDBC Driver ClassEnter the name of the JDBC driver.Before you can use a JDBC driver, you need to add its class path. Choose %PRODUCTNAME - PreferencesTools - Options - %PRODUCTNAME- Java, and click the Class Path button. After you add the path information, restart %PRODUCTNAME.Test ClassUFI: may be Test Connection - both strings are in specTests the connection with the current settings.AuthenticationDatabase Wizard