le 11.02.2009 14:48 jorge.vargas a écrit: > On Tue, Feb 10, 2009 at 11:32 AM, Remi Jolin - SysGroup > <remi.jo...@sysgroup.fr> 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? > > No, the DB was empty...
But I finally found the issue : I checked all the differences between the old and new system and found that the version of MySQL_python was 1.2.3 on the new system and 1.2.1 on the old one. After installing 1.2.1, everything worked as expected... > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to turbogears@googlegroups.com To unsubscribe from this group, send email to turbogears+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/turbogears?hl=en -~----------~----~----~----~------~----~------~--~---