well it's up to you to extend it to mysql... i don't use mysql, nor i know much about sql anyway; all specific stuff there is a steal/copy/try/error.
http://dbcook.svn.sourceforge.net/viewvc/dbcook/trunk/dbcook/misc/metadata/autoload.py?revision=208&view=markup give it dburl another thing i just noticed, SA.MetaData(reflect=True) has troubles with circular dependencies between tables - at create with 'alter table'. No idea how that can be solved. On Tuesday 30 September 2008 00:22:01 Lukasz Szybalski wrote: > Hello, > I've asked this about 6 months ago and I was wondering if there was > any progress.... > > I have existing mysql database, and I would like to connect to it > via sqlalchemy using autoload and generate a python file style > schema out of it. > > I want to migrate my existing mysql database to a mydb.py file > which I can then use as my base for further development of the > database. > > The last time I checked there were program to move from one > database to another but it didn't support mysql. > > Thanks, > Lucas --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To post to this group, send email to sqlalchemy@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sqlalchemy?hl=en -~----------~----~----~----~------~----~------~--~---