0% found this document useful (0 votes)
28 views3 pages

FB 5 Migrationguide

Uploaded by

Branko Petrović
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
28 views3 pages

FB 5 Migrationguide

Uploaded by

Branko Petrović
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

Contents

6.2. New data types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34


6.3. Consistent reading in READ COMMITTED transactions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
6.4. Changes in the optimizer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
6.4.1. Using Refetch for sorting wide data sets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
6.4.2. Converting OUTER JOINs to INNER JOINs. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
6.5. RETURNING, returning multiple records . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
7. Mass Migration Framework for Firebird . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
8. Conclusion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41

3
Introduction

Introduction
This article is intended primarily for those who plan to upgrade the Firebird DBMS to version 5.0 in
the near future. Many administrators still use Firebird 2.5, but plan to upgrade to version 5.0. That
is why the process of migration from Firebird versions 2.5, 3.0 and 4.0 is described here.

4
Chapter 1. Manual installation of Firebird 5.0 in Windows

Chapter 1. Manual installation of Firebird 5.0


in Windows
The process of installation from a zip archive is described below. Even if you install Firebird from a
special installation package, you may still need to change some settings after installation. In
addition, manual installation allows you to install multiple versions of Firebird on one machine.

Download the archive of the corresponding bitness and unpack it to the directory where the
Firebird server will be located.

Next, you need to create the SYSDBA user. For administrators who are migrating from Firebird 3.0 or
4.0, this operation is not new. In Firebird 2.5 and earlier, after installation, the SYSDBA user always
existed and had the default password masterke, which had to be changed immediately.

1.1. Initialization of SYSDBA


Starting from Firebird 3.0, the SYSDBA user is not initialized by default (for the SRP user management
plugin), so you need to explicitly create a user and specify a password for him. This can be done in
two ways: using the console tool for executing interactive queries isql.exe and the console tool for
managing the security database gsec.exe.

Note

 Depending on the location of Firebird, these utilities may require running with
administrator privileges.

1.1.1. Initialization of SYSDBA using ISQL

Run the tool for executing interactive queries isql.exe. Connect to the security database in
embedded server mode, specifying the user SYSDBA without a password. The user SYSDBA does not
exist in the security database yet, but in embedded mode the user and his password are not
checked, and Firebird trusts any specified user name. Execute the SQL query to create the user
SYSDBA:

CREATE USER SYSDBA PASSWORD '<password>';

The user SYSDBA is initialized, you can exit the interactive mode.

Example 1. Initialization of SYSDBA via ISQL

c:\Firebird\5.0>isql security.db -user SYSDBA

Database: security.db, User: SYSDBA

SQL> CREATE USER SYSDBA PASSWORD 'm8ku234pp';

You might also like