I am trying to access Firebird Database files located in C:/ drive from Docker Contained Django Application.
I am using Python fdb package for accessing this.
self.conn = fdb.connect( host='192.168.0.108', port=3050, database='/FIREBIRD_DB/TEST.FDB', user=usr, password=pswd)
It generates error:
Exception: The location of Firebird Client Library could not be determined.
How can I access the machine's Firebird Database from Docker Contained Django app?
You have to:
install and run Firebird Server on the machine with DB file, and
install client libraries of Firebird (fbclient.dll on Windows, probably lib_fbclient.so on Linux, etc) with the CPU architecture same as CPU architecture of your Python.exe on the machine running Django in Python, and
make sure your Python can find those libraries (%PATH% environment variable in Windows, LD configuration in Linux, etc).
Read "Client Installation" chapter in Quick Start guide at http://firebirdsql.org/en/server-packages