On Tue, Feb 10, 2009 at 11:32 AM, Remi Jolin - SysGroup <[email protected]> wrote: > > Hello, > > I've just setup a new server with a virtualenv containing TG1.0.8, SA, > MySQL... and I try to install one of my existing application already > running on another server. > > When I issue > tg-admin --config=prod.cfg sql create > I get an error looking like if tg-admin tries to update the DB tables > before actually creating them... > If, within tg-admin shell, I do a metadata.tables['a_table'].create(), > the table is created, so it is not a db connection problem. > The problem does not exist with SQLite. >
I'm not 100% sure but this seems to be a mismatch between the tables already inside the db and the ones defined by SQLAlchemy, if that information isn't important could you drop all tables in the db and try again? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/turbogears?hl=en -~----------~----~----~----~------~----~------~--~---

