Saturday, December 31, 2011

"syncdb --database=xxx" not working


I've tried to setup a project that supports two different databases, a
postgres-db and a mysql-db. The DATABASES-setting is configured
properly with a 'default' key for the mysql-db and 'pg' for the
postgres. However, if I try to syncdb the postgres-db,
accesses the 'default' mysql-db.
This is what I enter in the commandline: "python syncdb --
database=pg", like documented here: <
It seems that the --database option is ignored. Why?


You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

No comments:

Post a Comment