Closed gamesbook closed 8 years ago
Did not RTFM: http://firebirdsql.org/file/documentation/drivers_documentation/python/fdb/usage-guide.html#using-connect
Should be:
con = fdb.connect(host='127.0.0.1', port='3050', database='/databases/STAR.DB', user='sysdba', password='masterkey')
From host machine:
From Inside the Docker:
and the usual SQL statements work in terms of access to tables, data etc.
From a Python terminal:
Results in error:
I have tried host='localhost:3050', and also using my machine's IP address. I have also tried dropping the '/databases/' prefix from the database name; but always the same error.
EDIT
I also installed FlameRobin (http://www.flamerobin.org/) and was able to connect to the DB server but, again, not to the database (trying different paths), so I don't think this is a Python problem. I also tried changing ownership of the DB.