Multiple databases are currently not supported. A workaround is to make MySQL views for any tables that you need to reference in another database. Then just use those views in your application.
E.g.
Database d1 has table t1
Database d2 has table t2
Suppose your application is set up for database d1 but you need to access table d2.t2. Then create a view in d1 called t2 defined as follows:
- Code: Select all
create view t2 as select * from d2.t2
That effectively allows you to access table t2 from your application.
Remember to define the primary key for your view though
http://xataface.com/documentation/how-to/views-Steve