Subject | Re: [firebird-support] Re: Firebird LAN problem |
---|---|
Author | Ismael L. Donis García |
Post date | 2010-08-25T14:20:39Z |
For example in VB.NET
Dim MiSelect As String
Dim cn As New FbConnection
MiSelect = "User=SYSDBA; Password=masterkey; Database=d:\data\data.fdb; DataSource=192.168.0.1; Port=3050; Dialect=3; Charset=ISO8859_1;"
cn.ConnectionString=MiSelect.ToString
cn.Open
Regards
=========
|| ISMAEL ||
=========
Dim MiSelect As String
Dim cn As New FbConnection
MiSelect = "User=SYSDBA; Password=masterkey; Database=d:\data\data.fdb; DataSource=192.168.0.1; Port=3050; Dialect=3; Charset=ISO8859_1;"
cn.ConnectionString=MiSelect.ToString
cn.Open
Regards
=========
|| ISMAEL ||
=========
----- Original Message -----
From: Christian Waldmann
To: firebird-support@yahoogroups.com
Sent: Tuesday, August 24, 2010 2:57 AM
Subject: [firebird-support] Re: Firebird LAN problem
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
[Non-text portions of this message have been removed]