Python Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsProgramming LanguagesPython Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old April 11th, 2004, 12:57 PM
vhf vhf is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2004
Location: Oporto, Portugal
Posts: 1 vhf User rank is Just a Lowly Private (1 - 20 Reputation Level) 
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.

Reply With Quote
  #2  
Old April 21st, 2004, 03:57 AM
blandonnet blandonnet is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2004
Posts: 4 blandonnet User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation 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

Reply With Quote
  #3  
Old May 30th, 2004, 05:42 AM
anseljh anseljh is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2004
Posts: 1 anseljh User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Figure it out?

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

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming LanguagesPython Programming > Zope - Z MySQL Database Connection

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap