#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Apr 2004
    Location
    Oporto, Portugal
    Posts
    1
    Rep 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.
  2. #2
  3. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2004
    Posts
    4
    Rep Power
    0
    hello,
    you should use mySQL.com

    many thanks
    dan
    Last edited by netytan; April 22nd, 2004 at 10:46 AM. Reason: Link to porn removed
  4. #3
  5. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2004
    Posts
    1
    Rep Power
    0

    Figure it out?


    I am having the same problem as you. Did you manage to figure it out?

IMN logo majestic logo threadwatch logo seochat tools logo