Skip to content

Firebird database alias connection string not working #8813

@costin77

Description

@costin77

On a Windows 10 pro 64 -bit PC I am trying to connect to a Firebird 2.1.3 database from foxpro.

I am able to connect it using the next code:

lcsql = "DRIVER=Firebird/InterBase(r) driver;UID=SYSDBA;PWD=masterkey;DBNAME= d:\#acces\newsal.fdb;Port=3050"
ln = Sqlstringconnect(lcsql,.T.)

However, when I am trying to use an alias defined in aliases.conf (newsal = d:#acces\newsal.fdb) I am getting "File database is not found":

lcsql = "DRIVER=Firebird/InterBase(r) driver;UID=SYSDBA;PWD=masterkey;DBNAME=newsal;Port=3050"
ln = Sqlstringconnect(lcsql,.T.)

Can you please tell me what I am doing wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions