Hi, I'm looking for the connection string format to use ZFireBirdDA on an NT5 machine. My machine is not connected on a local network. FR
localhost:d:/path/to/db user password ----- Original Message ----- From: "FR Chalaoux" <frchalaoux@wanadoo.fr> To: <zope@zope.org> Sent: Thursday, April 11, 2002 6:04 PM Subject: [Zope] Using ZFireBirdDA on localhost
Hi,
I'm looking for the connection string format to use ZFireBirdDA on an NT5 machine. My machine is not connected on a local network.
FR
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Hi Phil, the result of my local connection gave me this error. What do you think about ? FR <strong>Invalid connection string: </strong><CODE>localhost:"e:\\Program Files\Borland\InterBase\examples\Database\employee.gdb" SYSDBA masterkey</CODE><br> <!-- kinterbasdb.OperationalError (-902, 'attach_db.isc_attach_database: Unable to complete network request to host ""e".. Failed to locate host machine.. The specified name was not found in the hosts file or Domain Name Services.. ') --> <p><a href="http://www.zope.org/Credits" target="_top"><img src="http://localhost:8080/p_/ZopeButton" width="115" height="50" border="0" alt="Powered by Zope" /></a></p></body></html> <pre onclick="this.firstChild.data=this.lastChild.data"> §<!-- Traceback (innermost last): File C:\PROGRA~1\zope5.0\lib\python\ZPublisher\Publish.py, line 150, in publish_module File C:\PROGRA~1\zope5.0\lib\python\ZPublisher\Publish.py, line 114, in publish File C:\PROGRA~1\zope5.0\lib\python\Zope\__init__.py, line 158, in zpublisher_exception_hook (Object: test) File C:\PROGRA~1\zope5.0\lib\python\ZPublisher\Publish.py, line 98, in publish File C:\PROGRA~1\zope5.0\lib\python\ZPublisher\mapply.py, line 88, in mapply (Object: manage_addZFireBirdConnection) File C:\PROGRA~1\zope5.0\lib\python\ZPublisher\Publish.py, line 39, in call_object (Object: manage_addZFireBirdConnection) File C:\PROGRA~1\zope5.0\Products\ZFireBirdDA\DA.py, line 101, in manage_addZFireBirdConnection (Object: test) File C:\PROGRA~1\zope5.0\lib\python\Shared\DC\ZRDB\Connection.py, line 60, in __init__ (Object: FireBird_database_connection) File C:\PROGRA~1\zope5.0\lib\python\Shared\DC\ZRDB\Connection.py, line 89, in edit (Object: FireBird_database_connection) File C:\PROGRA~1\zope5.0\lib\python\Shared\DC\ZRDB\Connection.py, line 168, in connect (Object: FireBird_database_connection) File C:\PROGRA~1\zope5.0\Products\ZFireBirdDA\db.py, line 49, in __init__ File C:\PROGRA~1\zope5.0\Products\ZFireBirdDA\db.py, line 61, in setup File C:\Program Files\Python21\kinterbasdb\__init__.py, line 209, in connect File C:\Program Files\Python21\kinterbasdb\__init__.py, line 293, in __init__ BadRequest: (see above) --></pre> -----Message d'origine----- De : Phil Harris [mailto:phil@harris-family.info] Envoyé : jeudi 11 avril 2002 19:40 À : FR Chalaoux; zope@zope.org Objet : Re: [Zope] Using ZFireBirdDA on localhost localhost:d:/path/to/db user password ----- Original Message ----- From: "FR Chalaoux" <frchalaoux@wanadoo.fr> To: <zope@zope.org> Sent: Thursday, April 11, 2002 6:04 PM Subject: [Zope] Using ZFireBirdDA on localhost
Hi,
I'm looking for the connection string format to use ZFireBirdDA on an NT5 machine. My machine is not connected on a local network.
FR
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re, It is working now and quote are responsibles of the problem. Don't insert white space inside your path cause you should use quote to isolate the path from other parameters. And it is not possible !!! Right strings connection are localhost:c:\tmp\foo.gdb user password *or* localhost:c:/tmp/foo.gdb user password Bad strings connection are localhost:"c:\tmp org\foo.gdb" user password *or* localhost:"c:/tmp org/foo.gdb user password My Config: Windows 2000 Zope 2.5 Remark1 : I tested the same things with gvibDA and there is the same problem. Remark2 : I have an NT4 machine with exactly the same config and on it I can use quote !!! Windows make me crazzy. I should really be on MacOSX at this time. FR -----Message d'origine----- De : Phil Harris [mailto:phil@harris-family.info] Envoyé : jeudi 11 avril 2002 19:40 À : FR Chalaoux; zope@zope.org Objet : Re: [Zope] Using ZFireBirdDA on localhost localhost:d:/path/to/db user password ----- Original Message ----- From: "FR Chalaoux" <frchalaoux@wanadoo.fr> To: <zope@zope.org> Sent: Thursday, April 11, 2002 6:04 PM Subject: [Zope] Using ZFireBirdDA on localhost
Hi,
I'm looking for the connection string format to use ZFireBirdDA on an NT5 machine. My machine is not connected on a local network.
FR
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
participants (2)
-
FR Chalaoux -
Phil Harris