import MySQLdb in the mailman........
![](https://secure.gravatar.com/avatar/9f194728e8ed040e119fee47fc1c1f07.jpg?s=120&d=mm&r=g)
Jan. 23, 2002
7:15 a.m.
Hi, ..
I'm a new member in the mailman-developers mailing list...
i've one question, although I can not english well.. ^^;
hum.. i have tried to update(?) the mailman...
One day, i tired to use mailman with mysql dbtabase... but i couldn't import MySQLdb.. ---------error --------- Traceback (innermost last): File "/home/mailman/scripts/driver", line 90, in run_main pkg = __import__('Mailman.Cgi', globals(), locals(), [scriptname]) File "../Mailman/Cgi/admin.py", line 20, in ? import MySQLdb ImportError: No module named MySQLdb
what i cann't understand is the command("import MySQLdb") is good in the python command line...
-------no error -------------------------
import MySQLdb
Please, give me a solution.....T.T
![](https://secure.gravatar.com/avatar/a930430c7f9705b71a65f341c4191a2b.jpg?s=120&d=mm&r=g)
January 2002
8:45 a.m.
"indipia" == <indipia@jinbo.net> writes:
indipia> I'm a new member in the mailman-developers mailing
indipia> list...
indipia> i've one question, although I can not english well.. ^^;
indipia> hum..
indipia> i have tried to update(?) the mailman...
indipia> One day, i tired to use mailman with mysql
indipia> dbtabase... but i couldn't import MySQLdb..
I'm not sure why you think this should work. MySQLdb isn't a module that's distributed by default with Python (or for that matter, with Mailman). And even if it were, simply adding an import statement wouldn't necessarily make Mailman work with it.
-Barry
8427
Age (days ago)
8427
Last active (days ago)
1 comments
2 participants
participants (2)
-
barry@zope.com
-
������