Connection Examples

Example connection string for Applications that use the ODBC function SQLDriverConnect:

1. Open("DSN=mcsAddress;")

2. Open("DSN=mcsAddress; UID=MCSSITE; PWD=mcssite;")

3. Open("DSN=mcsAddress; UID=MCSSITE; PWD=mcssite; DBNAME=172.17.2.10:/usr/local/efldata/mcsAddress.fdb;")

4. Open("DRIVER=Firebird/InterBase(r) driver; DBNAME=172.17.2.10:/usr/local/efldata/mcsAddress.fdb;")

5. Open("DRIVER=Firebird/InterBase(r) driver; UID=MCSSITE; PWD=mcssite; DBNAME=172.17.2.10:/usr/local/efldata/mcsAddress.fdb;")

also

6. Open("DRIVER=Firebird/InterBase(r) driver; UID=MCSSITE; PWD=mcssite; DBNAME=dummy;")

dummy – is an alias derived from the Firebird aliases.conf file. If the environment variables ISC_PASSWORD and ISC_USER are set then the driver will use these.