Subject | Re: Connect to FireBird database on Linux from Windows |
---|---|
Author | jb48888 |
Post date | 2005-07-12T14:46:27Z |
Thank you all for all of your great solutions. I will try later.
GD
--- In firebird-support@yahoogroups.com, Helen Borrie <helebor@t...>
wrote:
GD
--- In firebird-support@yahoogroups.com, Helen Borrie <helebor@t...>
wrote:
> At 07:48 PM 11/07/2005 +0000, you wrote:FireBird
> >Hi,
> >
> >Can somebody please point out how to connect to an embeded
> >database on Linux from a Windows application written in Delphi?application on the
>
> First, there's no such thing as "an embedded Firebird database on
> Linux". A database is a database. There might be some
> host machine that is making an embedded connection to thedatabase...so, to
> that extent, the interface between application and databaseservice is
> "embedded".Delphi,
>
> To access a database on a Linux host from a Windows application in
> the following must be true:Linux host
>
> 1. The Firebird server is running on the Linux host.
> 2. The Windows client machine must be running TCP/IP.
> 3. The Windows client machine must be able to find the Linux host
> 4. The host must be accessible by the Windows client machine.
>
> Let's say all this stuff is true and the Windows machine has the
> configured in its hosts file as lxserver....name
>
> Let's say the database is located in /data/databases with the file
> "mydb.fdb".platform,
>
> Then your TCP/IP connection string from any client app, on any OS
> will be:the host,
>
> lxserver:/data/databases/mydb.fdb
>
> Now, let's say you have the database set up in aliases.conf (on
> natch!!) as "fred":in the
>
> fred = /data/databases/mydb.fdb
>
> Then, your Delphi app (or any other client app) can use the alias
> connection string, instead of the hard path:
>
> lxserver:fred
>
> ./heLen