Link two schemas in same database MySQL

Not really an issue but if you need to link two schemas that are in the same MySQL database,
you should follow this doc Plug multiple SQL databases - Developer guide considering each schema as a separate database instead of the one about plugging different schemas.

For both urls:

Took me a while… Good luck !

Really thanks for your feedback. I will forward the ticket to the product, maybe we can improve a part of the documentation.

@cess, have you tried to plug multiple schemas instead of plugging multiple databases ? :pray:

Yes it didn’t work ! Also in my project I didn’t have any field “schema” in the models files or a DATABASE_SCHEMA variable in the .env… So maybe that’s why but it works as databases

1 Like