is the new db already filled or not ? if so, delete all .table files, set 
migrate=True and fake_migrate_all=True, hit appadmin one time, then set 
migrate=False and remove fake_migrate_all.

On Tuesday, December 29, 2015 at 11:14:27 AM UTC+1, [email protected] 
wrote:
>
> Hi.
>
> web2py-2.6.3-stable.
>
> Environments:
>  - Production db = DAL('mysql://...', migrate=False) -> MySQL remote server
>  - Development: db = DAL('sqlite://...', migrate=False)
>
> My production environment is death and I want to setup the development 
> environment.
>
> The only difference between them is the DAL uri.
>
> I've changed the DAL uri in the development environment but when web2py 
> starts I get the error:
> error 1050, table web2py_session_xxxx already exist
>
> I have several applications in the server and all of them cause the same 
> error,
>
>
> Thanks for your attention,
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to