
April 11th, 2004, 12:57 PM
|
|
Registered User
|
|
Join Date: Apr 2004
Location: Oporto, Portugal
Posts: 1
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
Zope - Z MySQL Database Connection
When i try to establish a connection i receive this error message:
Error Type: AttributeError
Error Value: server_capabilities
Error traceback:
Traceback (innermost last):
Module ZPublisher.Publish, line 98, in publish
Module ZPublisher.mapply, line 88, in mapply
Module ZPublisher.Publish, line 39, in call_object
Module Shared.DC.ZRDB.Connection, line 148, in manage_open_connection
Module Products.ZMySQLDA.DA, line 126, in connect
Module Products.ZMySQLDA.db, line 193, in __init__
AttributeError: server_capabilities
Zope version: 2.7.0b1
Python version: 2.3.3
MySQLdb version: 0.9.2
ZMySQLDA version: 2.0.8
MySQL version: 4.0.18
The string connection is: database user password
I successfully connect through this Database with this user and password directely in MySQL and with a python script using MySQLdb module, so i don't understand why Zope fails.
Any suggestions?
Thank you for your patience.
Vitor Félix.
|