Database statements via python but database left intact
Zero Piraeus
z at etiol.net
Sat Oct 5 15:29:55 EDT 2013
:
On Sat, Oct 05, 2013 at 10:16:46PM +0300, Νίκος Αλεξόπουλος wrote:
> Excuse me for asking again today, but i see no error in the
> following code, yes no isertion or update happens into the database:
>
> [...]
>
> When this code runs i check instantly my database via PHPMyAdmin and
> i see that it was left intact.
Are you sure that you're committing your changes (either by having
autocommit set or using an explicit con.commit() call)?
http://geert.vanderkelen.org/dont-forget-the-commit-in-mysql/
-[]z.
--
Zero Piraeus: inter caetera
http://etiol.net/pubkey.asc
More information about the Python-list
mailing list