JDBC Connection

Specifies the options to access a JDBC database.

JDBC Examples

You can use a JDBC driver class to connect to a JDBC database from LibreOffice. The driver class is provided by the database manufacturer. Two examples of JDBC databases are Oracle and MySQL.

Ikon Catatan

The driver classes must be added to LibreOffice in - LibreOffice - Advanced.


Oracle database

You 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.

In 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_name

MySQL database

Penggerak untuk pangkalan data MySQL tersedia pada situs web MySQL.

Sintaksis untuk pangkalan data MySQL adalah:

mysql://hostname:port/database_name

Data source URL

Enter 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.

Kelas Penggerak JDBC

Masukkan nama dari penggerak JDBC.

Ikon Peringatan

Before you can use a JDBC driver, you need to add its class path. Choose - LibreOffice- Advanced, and click the Class Path button. After you add the path information, restart LibreOffice.


Test Class

Uji sambungan dengan pengaturan saat ini.

Otensikasi

Wisaya Basis Data