Connexion Firebird

Spécifie les options de connexion aux bases de données externes Firebird.

Création d'un nouveau fichier de base de données Firebird

  1. Choisissez Fichier - Nouveau - Base de données et sélectionnez Connecter à une base de données existante. Cliquez sur Next.

  2. Cliquez sur Créer. La boîte de dialogue Enregistrer sous s'ouvre. Saisissez un nom et un emplacement corrects pour le fichier de base de données et cliquez sur Enregistrer. Le chemin du nouveau fichier est affiché dans la zone de texte de l'assistant. Cliquez sur Suivant.

  3. Facultativement, saisissez votre nom d'utilisateur et un mot de passe. Cliquez sur Suivant.

  4. Décidez des options préférées concernant la base de données enregistrée et quoi faire avec la base de données une fois enregistrée, puis cliquez sur Terminer. Saisissez ensuite un nom pour le nouveau fichier LibreOfficeDev Base.

note

Ce nom est le nom du nouveau fichier de base de données Firebird (*.fdb), et non le nom du fichier LibreOfficeDev Base (*.odb).


Connecter à un fichier de base de données Firebird existant

  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 LibreOfficeDev 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. Click Next.

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