Subject | kinterbasdb 3.3 on Ubuntu 10.10 - services api |
---|---|
Author | Werner F. Bruhin |
Post date | 2011-05-14T14:58:06Z |
I am having problems using the services api on Ubuntu.
On Win$ I can do:
from kinterbasdb import services
con = services.connect(user='sysdba', password='masterkey')
If I do the same on Ubuntu I get:
Traceback (most recent call last):
File "<input>", line 1, in <module>
File
"/usr/local/lib/python2.6/dist-packages/kinterbasdb/services.py", line
115, in connect
return Connection(host, user, password)
File
"/usr/local/lib/python2.6/dist-packages/kinterbasdb/services.py", line
121, in __init__
self._C_conn = apply(_ksrv.connect, args, keywords_args)
OperationalError: (-902, '_kiservices.pyob_SConnection_connect: \n Your
user name and password are not defined. Ask your database administrator
to set up a Firebird login.')
I can attach to db's using e.g. FlameRobin, so I know that user and
password are defined. I also made sure that my linux user id is member
of the Firebird group.
What else is needed to be able to use the services api?
Werner
P.S.
I also have serious performance issue on Ubuntu (see my thread in the
support list), does anyone have any tips on what to look out for?
On Win$ I can do:
from kinterbasdb import services
con = services.connect(user='sysdba', password='masterkey')
If I do the same on Ubuntu I get:
Traceback (most recent call last):
File "<input>", line 1, in <module>
File
"/usr/local/lib/python2.6/dist-packages/kinterbasdb/services.py", line
115, in connect
return Connection(host, user, password)
File
"/usr/local/lib/python2.6/dist-packages/kinterbasdb/services.py", line
121, in __init__
self._C_conn = apply(_ksrv.connect, args, keywords_args)
OperationalError: (-902, '_kiservices.pyob_SConnection_connect: \n Your
user name and password are not defined. Ask your database administrator
to set up a Firebird login.')
I can attach to db's using e.g. FlameRobin, so I know that user and
password are defined. I also made sure that my linux user id is member
of the Firebird group.
What else is needed to be able to use the services api?
Werner
P.S.
I also have serious performance issue on Ubuntu (see my thread in the
support list), does anyone have any tips on what to look out for?