Tuesday, October 30, 2007

mysqldb on leopard

To get mysqldb working on leopard I found I had to edit _mysql.c and edit out the lines:
#ifndef uint
#define uint unsigned int
#endif

I also had to edit site.cfg and mark threadsafe to False.