tzconnection help

The stable tester's forum for ZeosLib 7.0.x series

Report problems concerning our Delphi 2009+ version and new Zeoslib 7.0 features here.
Post Reply
chunkiebone
Fresh Boarder
Fresh Boarder
Posts: 5
Joined: 08.04.2013, 01:40

tzconnection help

Post by chunkiebone »

hello i have an app which accesses a firebird database locally on my computer. i want to try to access it on another computer within the network using the tzconnection of zoes and i put the following on the repective boxes in the object inspector:

database: "my servers ip" 192.168.254.1:c:\test.fdb
hostname: 192.168.254.1

but when i tried connecting i always had errors. i can connect when i put the path of the fdb on database and put localhost on hostname. btw i have turned off the firewall when i tried connecting but still i cant connect.

im using delphi 7, zeos 7.0.3 stable and firebird 2.5.2
Densetsu7
Fresh Boarder
Fresh Boarder
Posts: 4
Joined: 01.04.2013, 20:43

Post by Densetsu7 »

I don't think you need to add the IP of the server at Database Property.
It works as follows:
Database: c:\test.fdb
Hostname: 192.168.254.1
User and Password.

If that doesn't work, try sharing the "C:" of the server.
marsupilami
Platinum Boarder
Platinum Boarder
Posts: 1939
Joined: 17.01.2011, 14:17

Post by marsupilami »

Hello chunkiebone, Densetsu7,

Densetsu7s idea is corect except that with Firebird one never needs to share the database file because it is always only accessed by the Firebird server process.

Bet regards,

Jan
Post Reply