Firebird-forbindelse

Angiver indstillingerne for at forbinde til en ekstern Firebird-database.

Opretning af ny Firebird-databasefil

  1. Vælg Filer ▸ Ny(t) ▸ Database og vælg Forbind til en eksisterende database. Klik på Næste.

  2. Klik Opret. Dialogen Gem som åbner. Skriv et passende navn og placering for databasefilen og klik Gem. Sten for den nye fil bliver vist i guidens tekstfelt. Klik på Næste.

  3. Valgfrit, skriv dit brugernavn og adgangskode. Klik på Næste.

  4. Bestem din foretrukne indstillinger om registreret database og hvad du fil gøre med databasen, når den er lagret, og klik på Afslut. Fortsæt for at skrive en navn for den nye LibreOffice Base-fil.

note

I den andet skridt bliver navnet på den nye Firebird-database (*.fdb) skrevet, mens det sidste skridt er at gemme LibreOffice Base-filen (*.odb).


Forbind til en eksisterende Firebird-databasefil.

  1. Choose File - New - Database and select Connect to an existing database. Click Next.

  2. Click Browse and select the Firebird file (*.fdb). Click the Open button; the full URL to the database file is displayed in the text box. Click Next.

  3. Optionally, enter your username and password. Click Next.

  4. Decide your preferred options about database registration and what to do with database once saved, and click Finish. Proceed to enter a name for the new LibreOffice Base file.

Connect directly to a Firebird server

In addition to connections via JDBC and ODBC, you can connect to a Firebird server via the internal Firebird driver:

  1. Choose File - New - Database and select Connect to an existing database. Click Next.

  2. Manually enter the database connection URL in the text box. The pattern is <servername>/<port>:<path_to_the_database>, for example:

    server1/3050:C:/data/mydatabase.fdb (note the “/” although it is a Windows path)

    server1:C:/data/mydatabase.fdb (default port, Windows path)

    localhost:/data/mydatabase.fdb (localhost server, default port, Linux path)

    server1:mydata (default port, registered database)

  3. Klik på Næste.

  4. Provide a suitable username and password required for the server connection. Test the connection (recommended) and fix the issues, if any. Click Next.

  5. Decide whether you want to register the database and what to do with it once saved, and click Finish. Enter a name for the new LibreOffice Base file.

note

You can add some other options to the database URL, like the character set or role. See the Firebird documentation to find out about these options.