[fpc-devel] IBConnection isc_attach_database() remote server connection

Dimitrios Chr. Ioannidis dchri at artesoft.gr
Thu May 11 16:24:23 CEST 2006


Michael Hi,
>>  i don't know if this is fixed already, but for Interbase/Firebird to 
>> connect to a remote server you need to add the FQDN/IP to the 
>> database name, i.e. HostName + ':' + DatabaseName for the the second 
>> and third arg on isc_attach_database function call.
>
> And where exactly is this a problem ?

 in TIBConnection there is a property Hostname. So, people expect to put 
there the Server Name or IP and the location of the DB in the 
DatabaseName property. But in IBConnection unit in isc_attach_database, 
only the DatabaseName is used.

 Of course if you include the Server Name / IP in DatabaseName all is 
working fine but i think that in that case the HostName property just 
confuse people.

regards,
-- 
Dimitrios Chr. Ioannidis
Firebird Project Administrator
www.firebirdsql.org
IBPhoenix, Ltd
www.ibphoenix.com



More information about the fpc-devel mailing list