Hello all.

In a web2py application I would like to insert/update user records in 2 db.
The first one is the application db, a postgres db:
db = DAL('postgres://user:pass@localhost:5432/my_web2py_app_db', 
check_reserved=['all'], pool_size=1, entity_quoting=True, bigint_id=True, 
migrate=True)


The second one is used by a mailing program called php list. It's a mysql 
db.
db_php_list = DAL('mysql://user:pass@localhost:3306/my_php_list_db', 
fake_migrate_all=False, migrate=True)

I don't see any db_php_list table in database administration.

Mysql port is 3306?
For an existing db, I've to add 'fake_migrate_all=False, migrate=True', 
right?

Admitting that I can connect to the mysql db, how can I handle the user 
insert/updates to both db?

Thanks, regards.



-- 
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 web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to