Huge problem gettng MySQLdb to work on my mac mini running Macosx 10.5 Leopard
geert at nznl.com
Sat Mar 15 19:19:22 CET 2008
On Mar 14, 11:49 am, "Robert Rawlins"
<robert.rawl... at thinkbluemedia.co.uk> wrote:
> I've not seen this issue myself, however, you might get a little more luck
> asking over on theMySQLdbmailing list as this seems to be more an issue
> with the db than your python code. It might be worth posting your question
> there too as it'll heighten your chances of finding someone who knowsMySQLdbinside out.
> -----Original Message-----
> From: python-list-bounces+robert.rawlins=thinkbluemedia.co... at python.org
> [mailto:python-list-bounces+robert.rawlins=thinkbluemedia.co... at python.org]
> On Behalf Of geert
> Sent: 14 March 2008 10:36
> To: python-l... at python.org
> Subject: Huge problem gettngMySQLdbto work on my mac mini running Macosx
> 10.5 Leopard
> Hi all,
> I have a mac mini running maocosx 10.5 leopard I want to deploy a
> django project on. My backend is MySQL, and I have it running as a 64-
> bit app. Of course, apache2 is also running as 64-bit.
> MySQLdbinstalls with the usual warnings after applying the various
> patches I found here and there. These patches consist of altering
> _mysql.c and site.cfg.
> Basically, my problem boils down to this:
> File "<stdin>", line 1, in <module>
> File "build/bdist.macosx-10.5-i386/egg/MySQLdb/__init__.py", line
> 19, in <module>
> File "build/bdist.macosx-10.5-i386/egg/_mysql.py", line 7, in
> File "build/bdist.macosx-10.5-i386/egg/_mysql.py", line 6, in
> ImportError: dynamic module does not define init function (init_mysql)
> Has anyone solved this? I been hunting around for 2 weeks now, and my
> deadline is looming grimly on the horizon :)
Thanks, Robert. I'm on the MySQLdb list, and am working on a solution.
And I've subscribed to the list you gave.
More information about the Python-list