WebFaction
Community site: login faq

Hi folks,

I'm trying to use a MySQL database with Zope. After installing ZMySQLDA and MySQLdb the Z SQL Method shows up in Zope's add menu but no Z MySQL Database Connection object.

Any advice will be appreciated.

asked 28 Apr '12, 12:29

squareup
1626
accept rate: 50%


Try looking in your instance.log, in the entries just after your last restart there will probably be an error message related to ZMySQLDA that should give you an idea of what the problem is. If you can't find an error in the log, then stop Zope and restart it in the foreground - the startup will probably fail as soon as it hits whatever problem is breaking ZMySQLDA, and then you'll have a Python traceback that should point you in the right direction.

Hope that helps!

permanent link

answered 28 Apr '12, 15:07

seanf
12.2k42136
accept rate: 37%

Thanks! I looked at the log messages and was able to solve the problem following additional advice at

http://mxm-mad-science.blogspot.com/2008/01/installing-zmysqlda-in-zope-using.html

and copying folders and files as described at

https://mail.zope.org/pipermail/zope-dev/2010-July/041050.html

(28 Apr '12, 16:21) squareup
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×168
×18

question asked: 28 Apr '12, 12:29

question was seen: 2,284 times

last updated: 28 Apr '12, 16:21

WEBFACTION
REACH US
SUPPORT
AFFILIATE PROGRAM
LEGAL
© COPYRIGHT 2003-2020 SWARMA LIMITED - WEBFACTION IS A SERVICE OF SWARMA LIMITED
REGISTERED IN ENGLAND AND WALES 5729350 - VAT REGISTRATION NUMBER 877397162
5TH FLOOR, THE OLD VINYL FACTORY, HAYES, UB3 1HA, UNITED KINGDOM