Maurice LING wrote: > I've been using FB1.5 and access the database using Kinterbasdb + > Python. My connection is established using kinterbasdb.connect() method > and the parameters host, dns, database, user, password are all defaulted > to 'None'. > > On my own machine running Mac OSX 10.3, I can connect using the following: > host = 'localhost' > database = '<my path to FB database>' > user = '<user>' > password = '<password>' > > At the same time, I can also connect if I set host=None on my machine. > > However, I cannot use 'localhost' on a shared Linux machine (not > allowed. Don't ask why, system admin's mandate. And the Linux machine is > without inetd). So when I set host=None, I get this error:
Just for my understanding: if you start your script on the machine hosting the DB you're able to connect. If you start it on a different machine, you are not able to connect without giving a hostname? Whats wrong with offering the the name (or IP-address) of your MacOS-box instead of 'localhost' to the script? Mathias -- http://mail.python.org/mailman/listinfo/python-list