2010年11月12日星期五

Re: [fw-db] dynamic databases in the same mysql

One option would be to reference tables with schema-qualified names.
Provided the databases are hosted on the same MySQL instance, you can
query from any database regardless of which database is your "default"
to which you are connected. You can execute joins between tables that
live in different databases. You can even declare inter-database
foreign keys.

Regards,
Bill Karwin

On Nov 9, 2010, at 7:52 PM, seawolf wrote:

> i have a mysql server installed and one or more databases will be
> created
> everyday. for example, today i have databases A and B. tomorrow C
> and D will
> be created by some scripts automatically. so how do i configure my
> zend
> framework to use all my databases in my same mysql server?
>
> --
> seawolf

没有评论: