Nicolas Lehuen
nicolas.lehuen at gmail.com
Sun Oct 9 06:59:33 EDT 2005
Hi Erdi, Have a look at this FAQ entry, it may be related to your problem : http://www.modpython.org/FAQ/faqw.py?req=show&file=faq02.013.htp Regards, Nicolas 2005/10/9, Erdi Balint <erdibalint at freemail.hu>: > > Hi all, > > I am trying to write a small python-mysql application with mod_python > but got stuck right at the beginning. The following code snippet: > > import MySQLdb > db = MySQLdb.connect(user="xxx",passwd="xxx",db="xxx") > return db > > causes a Segmentation fault. > > apache log: > > [Sun Oct 9 11:09:52 2005] [notice] child pid 6736 exit signal > Segmentation fault (11) > > (in fact, any mysql db operation causes the same) > > I am using python-mysqldb version 1.2.1c3-2 and libapache-mod-python > version 2.7.10-4 (both installed from Debian packages, thinking that > they were stable releases). Apache version is 1.3.33. Am I doing > something wrong? > > Thank you for your help, > Balint > _______________________________________________ > Mod_python mailing list > Mod_python at modpython.org > http://mailman.modpython.org/mailman/listinfo/mod_python > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mm_cfg_has_not_been_edited_to_set_host_domains/pipermail/mod_python/attachments/20051009/dc3174a1/attachment.html
|