Subject | Re: [firebird-support] How to build Firebird TCP/IP ConnectionString |
---|---|
Author | Michael Powell |
Post date | 2011-12-22T15:16:40Z |
On Wed, Dec 21, 2011 at 11:08 PM, Thomas Steinmaurer <ts@...>wrote:
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...
> **Pardon me for being a little dense, however, if I've got a new
>
>
> Michael,
>
>
> > Are there any examples which include how to build a Firebird TCP/IP
> > ConnectionString?
>
> it's pretty much:
>
> <server>[/<port>]:<database_path>
>
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...
> * Examples:[Non-text portions of this message have been removed]
>
> With physical server path: localhost:c:\data\mydb.fdb
> or with alias: localhost:mydb.fdb
>
> In case of an alias (the preferred way btw), you then need something
> like that in aliases.conf in the Firebird root directory:
>
> mydb.fdb=c:\data\mydb.fdb
>
> Or if the Firebird server is listening on a different port than the
> default 3050:
>
> localhost/4050:c:\data\mydb.fdb
>
> Or if it is a remote server:
>
> myserver:c:\data\mydb.fdb
>
> etc ...
>
> I think you get the idea.
>
> --
> With regards,
> Thomas Steinmaurer (^TS^)
> Firebird Technology Evangelist
>
> http://www.upscene.com/
> http://www.firebirdsql.org/en/firebird-foundation/
>
> > Thank you...
> >
> > Regards,
> >
> > Michael
> >
> >
> > [Non-text portions of this message have been removed]
> >
> >
> >
> > ------------------------------------
> >
> > ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> >
> > Visit http://www.firebirdsql.org and click the Resources item
> > on the main (top) menu. Try Knowledgebase and FAQ links !
> >
> > Also search the knowledgebases at http://www.ibphoenix.com
> >
> > ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> > Yahoo! Groups Links
> >
> >
> >
>
>
>