Re: [sqlalchemy] Locked file when trying to copy

2010-08-18 Thread Jeroen Dierckx
sqlalchemy import create_engine from sqlalchemy.pool import NullPool to_engine = create_engine('sqlite:///%s' % temp_file_name, poolclass=NullPool) Lance On Mon, 2010-08-16 at 21:08 +0200, Jeroen Dierckx wrote: Hello all, I am trying to export data from a MySQL database to a sqlite database

[sqlalchemy] Locked file when trying to copy

2010-08-16 Thread Jeroen Dierckx
Hello all, I am trying to export data from a MySQL database to a sqlite database using SqlAlchemy. I am using 2 engines for each database ( from and to ). This is the part that creates the sqlite engine: to_engine = create_engine(u'sqlite:///%s'%temp_file_name) to_meta_data = MetaData()