Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

connecting Python 2.6.1 with MySQLdb

Tags:

python

mysql

I am using Python 2.6.1 and I want to connect to MySQLdb, I installed mySQL in my system, and I am trying to connect MySQL-python-1.2.2.win32-py2.6 from http://www.codegood.com/archives/4 site but its not working while running my application its saying that No module named MySQLdb

please any one provide me the proper setup for MySQLdb.

thanks in advance

like image 369
SKSK Avatar asked Dec 01 '22 07:12

SKSK


1 Answers

The best setup for Windows that I've found:

http://www.codegood.com/downloads?dl_cat=2

EDIT: Removed original link (it's an ad farm now :( )

like image 117
ojrac Avatar answered Dec 03 '22 20:12

ojrac