[Zope] Newbie: connection string for ZMySQLDA using MySQLdb

Slaets, Maarten Maarten.Slaets@kpnqwest.com
Mon, 25 Oct 1999 17:03:04 +0200


hi,

i tried entering the following (using 'Add Z MySQL Database Connection'):
user/password
user/paasword@myhost
but none of them worked and return a 'bad request':

<Traceback>
Traceback (innermost last):
  File /usr/local/Zope-2.0.1-src/lib/python/ZPublisher/Publish.py, line 214,
in publish_module
  File /usr/local/Zope-2.0.1-src/lib/python/ZPublisher/Publish.py, line 179,
in publish
  File /usr/local/Zope-2.0.1-src/lib/python/Zope/__init__.py, line 201, in
zpublisher_exception_hook
    (Object: ElementWithAttributes)
  File /usr/local/Zope-2.0.1-src/lib/python/ZPublisher/Publish.py, line 165,
in publish
  File /usr/local/Zope-2.0.1-src/lib/python/ZPublisher/mapply.py, line 160,
in mapply
    (Object: addConnection)
  File /usr/local/Zope-2.0.1-src/lib/python/ZPublisher/Publish.py, line 102,
in call_object
    (Object: addConnection)
  File /usr/local/Zope-2.0.1-src/lib/python/Products/ZMySQLDA/DA.py, line
123, in addConnection
    (Object: ElementWithAttributes)
  File /usr/local/Zope-2.0.1-src/lib/python/Shared/DC/ZRDB/Connection.py,
line 124, in __init__
    (Object: RoleManager)
  File /usr/local/Zope-2.0.1-src/lib/python/Shared/DC/ZRDB/Connection.py,
line 153, in edit
    (Object: RoleManager)
  File /usr/local/Zope-2.0.1-src/lib/python/Shared/DC/ZRDB/Connection.py,
line 197, in connect
    (Object: RoleManager)
  File /usr/local/Zope-2.0.1-src/lib/python/Products/ZMySQLDA/db.py, line
155, in __init__
BadRequest: (see above)
</Traceback>

What Am I doing wrong?

Maarten Slaets
Web Developer
KPNQwest Belgium
http://www.fonky.com/vcard/MaartenSlaets/