Problem with MySQLdb on Mac OS X...

Skip Montanaro skip at pobox.com
Sat Jul 12 11:37:13 EDT 2003


    Mike> I made modifications to setup.py to set safe threading to NO and
    Mike> also to point to the "real" location of the mysql libraries and
    Mike> stuff like that.  To test it I wrote a simple script that just
    Mike> tries to connect to the database.  It fails.  It also fails
    Mike> interactively.  Here is what I am getting...

Your script worked fine for me (Mac OS X 10.2.6, Python 2.3b1+), though I
didn't modify setup.py (at least not that I recall - it's been awhile).

    Mike> The download, build and install went fine.  This same code works
    Mike> (well, different database name, user and password) on a different
    Mike> machine.  The database, username and password are all correct.

The only change I made was that the database is remote, so I set the host as
well.

Skip





More information about the Python-list mailing list