Connection Strings
The Firebird client library — and by extension, isql
— supports a variety of connection strings.
<database_name> ::= [server_spec]{filepath | db_alias} <server_spec> ::= host[/{port | service}]: | \\host\ | <protocol>://[host[:{port | service}]/] <protocol> ::= inet | inet4 | inet6 | wnet | xnet
All Firebird versions support the first two connection strings.Firebird 3.0 and later also support the third form.Support for the wnet
and xnet
protocols is only available on Windows.Support for the wnet
protocol was removed in Firebird 5.0.
The actual supported connection strings depends on the Firebird client library in use (fbclient.dll
/libfbclient.so
).
The service refers to a service definition in the services
file of your operating system (Windows: %WINDIR%\System32\drivers\etc\services
, Linux: /etc/services
).Historically, for Firebird it is gds-db
or gds_db
with value 3050/tcp
, however Windows and Linux do not include either entry by default.