From owner-freebsd-questions Tue Jul 30 16:44:44 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2C9CD37B400 for ; Tue, 30 Jul 2002 16:44:42 -0700 (PDT) Received: from skytrackercanada.com (cust29.209.188.66.dsl.accessv.com [209.188.66.29]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5E66C43E42 for ; Tue, 30 Jul 2002 16:44:36 -0700 (PDT) (envelope-from david@skytrackercanada.com) Received: (from david@localhost) by skytrackercanada.com (8.12.3/8.12.3) id g6UNiOxb031054; Tue, 30 Jul 2002 19:44:24 -0400 (EDT) (envelope-from david) Date: Tue, 30 Jul 2002 19:44:20 -0400 From: David Banning To: Dan Nelson Cc: questions@FreeBSD.ORG Subject: Re: is mysql-python needed? Message-ID: <20020730194420.A31050@skytrackercanada.com> References: <20020730173006.A29190@skytrackercanada.com> <20020730213912.GE95493@dan.emsphone.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020730213912.GE95493@dan.emsphone.com>; from dnelson@allantgroup.com on Tue, Jul 30, 2002 at 04:39:12PM -0500 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, Jul 30, 2002 at 04:39:12PM -0500, Dan Nelson wrote: > In the last episode (Jul 30), David Banning said: > > I am running zope and want to integrate mysql. > > > > I am running into trouble and the zope list folks are telling > > me I should have mysql-python installed. > > > > It doesn't seem to be in the ports, or it is not coming up > > with 'locate python | grep mysql | grep ports' > > . > > Just like perl is abbreviated as p5 in ports, python is py. Take a > look at ports/databases/py-MySQL and py-MySQLdb. thanks for the response, Dan. I actually -have- py-mysqldb installed but for some reason it is now loading. Error shows; Traceback (most recent call last): File "/usr/local/www/Zope/lib/python/OFS/Application.py", line 531, in import_product product=__import__(pname, global_dict, global_dict, silly) File "/usr/local/www/Zope/lib/python/Products/ZMySQLDA/__init__.py", line 91, in ? import DA File "/usr/local/www/Zope/lib/python/Products/ZMySQLDA/DA.py", line 92, in ? from db import DB File "/usr/local/www/Zope/lib/python/Products/ZMySQLDA/db.py", line 89, in ? import _mysql ImportError: No module named _mysql To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message