Subject Re: How to build Firebird TCP/IP ConnectionString
Author si_carter_987654321
--- In firebird-support@yahoogroups.com, Michael Powell <mwpowellnm@...> wrote:
>
> On Wed, Dec 21, 2011 at 11:08 PM, Thomas Steinmaurer <ts@...>wrote:
>
> > **
> >
> >
> > Michael,
> >
> >
> > > Are there any examples which include how to build a Firebird TCP/IP
> > > ConnectionString?
> >
> > it's pretty much:
> >
> > <server>[/<port>]:<database_path>
> >
>
> Pardon me for being a little dense, however, if I've got a new
> FbConnection() in C#, I set the ConnectionString to
> "<server>[/<port>]:<database_
> path>", replacing the tagged elements, of course. ???? And this will work
> for Firebird? Or through any of the app.config or Settings
> <ConnectionStrings/> type approach?
>
> Thanks...

The following connection string works for me in C#:

User=[USER];Password=[Password];Database=[Database or Alias];DataSource=localhost;Dialect=3;MinPoolSize=20;MaxPoolSize=150;Pooling=true;Connection Lifetime=600;Packet Size=8192

regards

Si