Subject | AW: [firebird-support] Re: Firebird LAN problem |
---|---|
Author | Christian Waldmann |
Post date | 2010-09-03T19:05:39Z |
Hello Stefan
To use a database, only one computer has to run the firebird server. All
other computers do only need the firebird client and connect via the
server to the database.
The database on the server must be on a local drive of this computer and
no other computer needs file access to the database file. All database
manipulation is done through the server.
If there is a : after the server name in the connection string, TCP/IP
protocol is used, so the connection string of Ann is perfect.
If you didn't change the port firebird should use, the client uses the
default port of 3050, and you do not have to add a port to the
connection string.
Good luck
Christian Waldmann
______________________________________________
Von: firebird-support@yahoogroups.com
[mailto:firebird-support@yahoogroups.com] Im Auftrag von stefan.schiele
Gesendet: Montag, 23. August 2010 21:45
An: firebird-support@yahoogroups.com
Betreff: [firebird-support] Re: Firebird LAN problem
I suggest to connect via TCP/IP to the computer who provides the
database.
Your connection string should contain something like this:
ServerIP/gds_db:Z:\\data\\data.fdb
Regards,
Stefan.
--- In firebird-support@yahoogroups.com
<mailto:firebird-support%40yahoogroups.com> , "anzze33" <anzze33@...>
wrote:
I've never used before).
database files (.fdb) which my application is using. The files are all
accessible via network on a shared network drive. My application should
run on all of the computers and every instance of the application shold
use those same database files. I wrote the following connection string:
drive. The error I get is: "unavailable database".
to solve the problem. BTW: I have complete access to all computers, so
any sollution is applicable.
To use a database, only one computer has to run the firebird server. All
other computers do only need the firebird client and connect via the
server to the database.
The database on the server must be on a local drive of this computer and
no other computer needs file access to the database file. All database
manipulation is done through the server.
If there is a : after the server name in the connection string, TCP/IP
protocol is used, so the connection string of Ann is perfect.
If you didn't change the port firebird should use, the client uses the
default port of 3050, and you do not have to add a port to the
connection string.
Good luck
Christian Waldmann
______________________________________________
Von: firebird-support@yahoogroups.com
[mailto:firebird-support@yahoogroups.com] Im Auftrag von stefan.schiele
Gesendet: Montag, 23. August 2010 21:45
An: firebird-support@yahoogroups.com
Betreff: [firebird-support] Re: Firebird LAN problem
I suggest to connect via TCP/IP to the computer who provides the
database.
Your connection string should contain something like this:
ServerIP/gds_db:Z:\\data\\data.fdb
Regards,
Stefan.
--- In firebird-support@yahoogroups.com
<mailto:firebird-support%40yahoogroups.com> , "anzze33" <anzze33@...>
wrote:
>me with.
> Hello!
>
> I have a big problem with firebird database, which I hope you can help
>their special requirement was that I use the Firebird database (which
> I made an application in Visual Studio 2008 (c#) for some company and
I've never used before).
>server&client installed, but only one computer in the network has the
> They have 5 computers in the company and each of them has Firebird
database files (.fdb) which my application is using. The files are all
accessible via network on a shared network drive. My application should
run on all of the computers and every instance of the application shold
use those same database files. I wrote the following connection string:
> "User ID=SYSDBA;Password=masterkey;Database=Z:\\data\\data.fdb;DataSource=localhost;Charset=WIN1250;", where "Z" is the mapped network
drive. The error I get is: "unavailable database".
>possible problems with file locking) or is there some more correct way
> Should I even be using the "mapped network drive" method (I can see
to solve the problem. BTW: I have complete access to all computers, so
any sollution is applicable.
>[Non-text portions of this message have been removed]
> I appreciate any help!
>