Home >Backend Development >PHP Tutorial >How does symfony allow doctrine's yml file to correspond to different databases when configuring tables?
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?
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?