[Python] Problemi in scrittura DB con executemany()
Francesco Martino
francesco.martino a unipd.it
Ven 10 Ott 2008 10:52:59 CEST
Maria Grazia Toffetti ha scritto:
> Starting with 1.2.0, MySQLdb disables autocommit by default, as
> required by the DB-API standard (PEP-249). If you are using InnoDB
> tables or some other type of transactional table type, you'll need to
> do connection.commit() before closing the connection, or else none of
> your changes will be written to the database.
Si, il problema era proprio quello.
Grazie,
Francesco
Maggiori informazioni sulla lista
Python