Date: Tue, 30 Jul 2002 19:44:20 -0400 From: David Banning <david@skytrackercanada.com> To: Dan Nelson <dnelson@allantgroup.com> Cc: questions@FreeBSD.ORG Subject: Re: is mysql-python needed? Message-ID: <20020730194420.A31050@skytrackercanada.com> In-Reply-To: <20020730213912.GE95493@dan.emsphone.com>; from dnelson@allantgroup.com on Tue, Jul 30, 2002 at 04:39:12PM -0500 References: <20020730173006.A29190@skytrackercanada.com> <20020730213912.GE95493@dan.emsphone.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020730194420.A31050>
