See, I don't know if that's causing it (it is on Linux, actually) but you may want to use import MySQLdb next time (mind the case sensitivity) just to stay platform independent. HTH, Jiri