It's been too long since I've worked on this. Yep, I forgot to commit.<br>Thanks,<br>Beno<br><br><div class="gmail_quote">On Tue, Feb 15, 2011 at 5:21 PM, Jerry Hill <span dir="ltr"><<a href="mailto:malaclypse2@gmail.com">malaclypse2@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div class="im">On Tue, Feb 15, 2011 at 3:24 PM, Victor Subervi <<a href="mailto:victorsubervi@gmail.com">victorsubervi@gmail.com</a>> wrote:<br>

> It builds the table but fails from the first insertion. Trying to insert<br>
> using that code directly in MySQL does indeed work. Why?<br>
<br>
</div>In what way does it fail?  Does it give you a stack trace, and if so,<br>
what does it say?  Does it create the table, but not populate any<br>
data?  If that's the case, you probably need to call commit() after<br>
you do your inserts.<br>
<br>
I'm not familiar with the MySQLDB module in particular, but python<br>
database adapters typically do not autocommit, unless you explicitly<br>
ask for that behavior.<br>
<br>
--<br>
<font color="#888888">Jerry<br>
</font><div><div></div><div class="h5">--<br>
<a href="http://mail.python.org/mailman/listinfo/python-list" target="_blank">http://mail.python.org/mailman/listinfo/python-list</a><br>
</div></div></blockquote></div><br>