How does symfony allow doctrine's yml file to correspond to different databases when configuring tables?

WBOY
Release: 2016-08-04 09:21:07
Original
980 people have browsed it

I want to put the less important log-related tables into a separate log database log, and put the others into the default database. Different database connection accounts are the same. Now it is not possible to generate log database tables based on yml. The default database is It can be generated, but I don’t want to use two database connections, so I can’t connect and query. Is there a good solution?

Reply content:

I want to put the less important log-related tables into a separate log database log, and put the others into the default database. Different database connection accounts are the same. Now it is not possible to generate log database tables based on yml. The default database is It can be generated, but I don’t want to use two database connections, so I can’t connect and query. Is there a good solution?

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!