[Zope] database string connection??????

Phil Harris phil.harris@zope.co.uk
Tue, 19 Jun 2001 15:20:19 +0100


See comments below.

----- Original Message -----
From: <Stefano.Blasi@esa.int>
To: <zope@zope.org>
Cc: <stevex@tiscalinet.it>
Sent: Tuesday, June 19, 2001 4:07 PM
Subject: [Zope] database string connection??????


> I am working on Win-32 platform (Windows 95).
> I installed MySQL ver.3.23
> I have MyOBDC, ZOPE
> I installed ZmySQLDA in Products directory of ZOPE.
> I follow all the istructions.
> I  am working whit all applications on my PC.
> So, after writed the "simple string connection" database@myhost:8080 UID
PASSWD

--------------------------------------------------------------------^^^^
Why have you got the 8080 here?  Is MySQL running on a nonstandard port?

Try taking the port out and see if that works.

> the python of ZOPE crash whitin the followin message:
>
> Unhandled exception in thread:
> Traceback (innermost last):
>   File "C:\Program Files\WebSite\ZServer\PubCore\ZServerPublisher.py",
line 97,
> in __init__
>     response._finish()
>   File "C:\Program Files\WebSite\ZServer\HTTPResponse.py", line 281, in
_finish
>     stdout.close()
>   File "C:\Program Files\WebSite\ZServer\HTTPResponse.py", line 338, in
close
>     Wakeup()
>   File "C:\Program Files\WebSite\ZServer\medusa\select_trigger.py", line
153, in
>  pull_trigger
>     self.trigger.send ('x')
>   File "<string>", line 1, in send
> socket.error: (10038, 'winsock error')
>
> I have reinstalled mysql, I try by ODBC manager and the connection is OK.
>
> Any suggestions why the connection is not working properly?
>
> Thanks
>
>
>
> _______________________________________________
> 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 )