There are n libraries on a db machine, which needs to obtain different types of data from each library when a process is queried. If you're creating n connections,?
Select * from 数据库名. 表名 where.
No more connections are required, and selectdb isn't required, as long as the current user has permissions to the corresponding database