Firebird ADO.NET Data Provider connection strings

Connects to

Firebird

  • Standard

    User=SYSDBA;Password=masterkey;Database=SampleDatabase.fdb;DataSource=localhost;
    Port
    =3050;Dialect=3;Charset=NONE;Role=;Connection lifetime=15;Pooling=true;
    MinPoolSize
    =0;MaxPoolSize=50;Packet Size=8192;ServerType=0;
  • Using the Firebird embedded server

    User=SYSDBA;Password=masterkey;Database=SampleDatabase.fdb;DataSource=localhost;
    Port
    =3050;Dialect=3;Charset=NONE;Role=;Connection lifetime=15;Pooling=true;
    MinPoolSize
    =0;MaxPoolSize=50;Packet Size=8192;ServerType=1;

    It's the key/value ServerType=1; that tells the driver it's in embedded mode.

  • Disable pooling

    User=SYSDBA;Password=masterkey;Database=SampleDatabase.fdb;DataSource=localhost;
    Port
    =3050;Dialect=3;Charset=NONE;Role=;Connection lifetime=15;Pooling=false;
    Packet Size
    =8192;ServerType=0;
Problems connecting?
Get answer in the Firebird Q & A forum
.NET Framework Class LibraryFirebirdSql.Data.FirebirdClient.FbConnectionInfo and class library downloads

Providers

Connect

Articlesread all »

Didn't find your connection string?

Start over from the connection string reference index - or try a search!

In the Q&A forums you can ask your own question and let somebody help you.

The knowledge articles contains solutions and guides.