i will try this, thanks man 2017-04-04 10:15 GMT-03:00 黄祥 <[email protected]>:
> perhaps you can use export import csv for that > 1. export the sqlite data into *.csv > 2. change the database connection from sqlite into mysql or postgresql > (appconfig.ini of db.py) > 3. ensure the migrate is True > 4. hit appadmin once to create table > 5. after that import *.csv > > ref: > http://web2py.com/books/default/chapter/29/06/the- > database-abstraction-layer#Exporting-and-importing-data > > best regards, > stifan > > -- > 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. > -- 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.

