-
Notifications
You must be signed in to change notification settings - Fork 11.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Override config item in artisan kernel #27711
Comments
Can you pinpoint the exact version which broke this? That might give a hint what's causing this. |
Works in 5.7.24 and breaks in 5.7.25 |
I can't really see what might have caused this honestly: v5.7.24...v5.7.25 |
It seems to be this It seems that it first builds the connector (which generates an error), then bootstraps artisan (overriding the config) and then getting the connector again (now with the new config) It would seem that I need to find a better way of overriding the config :( Any suggestions would be great! |
Alas. There seems to be no viable method of doing this currently :( |
Seems like it was reverted for being to generic: #27418 I indeed fear there's not a viable way to do this atm. |
Description:
In 5.7.22 it was possible to override config items by overriding the bootstap method
This worked and used the new host when running database tasks
After upgrading to 5.7.28 this is no longer possible
Steps To Reproduce:
Install 5.7.22 and check that it is possible to override database host.
Install 5.7.28 and see that it no longer works.
The text was updated successfully, but these errors were encountered: