On 5/23/09, Hasanat Kazmi <hasanatka...@gmail.com> wrote: > > Now, I have changed database, I have switched to mysql, and whole > database is empty. Now it gives me this error: > Table 'web2py.teacher' doesn't exist > If create table myself, it says it already exists. Any help?
If database already exists you should use migrate=False in define_table(). -- Álvaro Justen Peta5 - Telecomunicações e Software Livre 21 3021-6001 / 9898-0141 http://www.peta5.com.br/ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---