peteris.rocks

Open Firebird embedded database file

How to open a Firebird embedded database file on Windows

Last updated on

I had a data file of uknown type that I wanted to get the data out of.

The file utility was not helpful:

$ file WTANavigator.dat
WTANavigator.dat: data

strings on the other hand gave me something I can Google:

$ strings WTANavigator.dat
...
RDB$FIELD_NAME
RDB$FIELDS
RDB$FIELD_NAME
RDB$CHARACTER_SET_NAME
RDB$DATABASE
RDB$CHARACTER_SET_NAME
RDB$SECURITY_CLASS
RDB$DATABASE
RDB$SECURITY_CLASS
...

Looks like some kind of embedded database file.

A quick Google search revealed that it's most likely a Firebird SQL database.

How to open it?

One option is to use Open Database Connectivity (ODBC) since it looks like Firebird has an ODBC driver but I was too lazy to write code.

Database .NET

Database .NET is a database explorer that can open embedded Firebird files.

Leave Login name and Password as they are, they do not affect the data file.

You can browse the database, run queries, etc.

It's also possible to export tables as TSV (tab separated values) files 100 times using the free edition.

Errors

Unable to complete network request to host "localhost".

Make sure the Firebird SuperServer is started and running.

cannot attach to password database

Give yourself write permissions to C:\Program Files (x86)\Firebird.