Site attempting to use DB it doesn't know about!
Ok, this is a strange issue, with an uncommon setup.
Setup is comprised of multiple sites:
- An API
- Frontends that use that API
The issue being, whenever the FrontEnd site, makes a call to an API endpoint.
The API errors, attempting to access its DB tables, using the Frontends Database name!
The API codebase has no reference to that database name, which only appears in the Frontend's environment settings.
The API accesses its database tables correctly via Command line or direct web action!
It's only when both are running via Laragon together, does this issue appear!
Any ideas or suggestions?