Connessione JDBC

Specifica le opzioni per l'accesso ai database JDBC.

Esempi di JDBC

Per connettervi a un database JDBC da LibreOfficeDev potete usare una classe di driver JDBC. La classe di driver è fornita dal produttore del database. Due esempi di database JDBC sono Oracle e MySQL.

Icona di nota

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


Database Oracle

Potete usare un driver JDBC per accedere a un database Oracle da Solaris o da Linux. Per accedere al database da Windows dovete utilizzare un driver ODBC.

Nella casella URL sorgente dati, inserite la posizione del server di database Oracle. La sintassi dell'URL dipende dal tipo di database. Per maggiori informazioni, leggete la documentazione del driver JDBC.

Per i database Oracle, la sintassi dell'URL è:

oracle:thin:@nome_host:porta:nome_database

Database MySQL

Il driver per il database MySQL è disponibile nel sito web di MySQL.

La sintassi per i database MySQL è:

mysql://nome_host:porta/nome_database

URL sorgente dati

Enter the URL for the database. For example, for the MySQL JDBC driver, enter "mysql://<Servername>/<name of the database>". For more information on the JDBC driver, consult the documentation that came with the driver.

Classe di driver JDBC

Digitare il nome del driver JDBC.

Icona di avvertenza

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


Prova la classe

Verifica la connessione con le impostazioni attuali.

Autenticazione

Creazione guidata database