Skip to content
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

set "mysql" as an enabled database #1925

Merged
merged 1 commit into from
Jan 19, 2024

Conversation

browner12
Copy link
Contributor

MySQL is kind of a weird case, because it's our default database, and it cannot (shouldn't?) run side by side with MariaDB.

We kind of cheated this previously by having "mysql" as a key in the "features" configuration, but it's technically not a "feature" as it doesn't have a file in /scripts/features/. this resulted in an "Invalid feature: mysql" warning in the provision script.

This change will allow us to remove mysql: true from our docs and example files, while still having MySQL work correctly.

MySQL is kind of a weird case, because it's our default database, and it cannot (shouldn't?) run side by side with MariaDB.

We kind of cheated this previously by having "mysql" as a key in the "features" configuration, but it's technically not a "feature" as it doesn't have a file in `/scripts/features/`.  this resulted in an "Invalid feature: mysql" warning in the provision script.

This change will allow us to remove `mysql: true` from our docs and example files, while still having MySQL work correctly.
Copy link
Contributor

@svpernova09 svpernova09 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks.

@svpernova09 svpernova09 merged commit bc80360 into laravel:main Jan 19, 2024
4 checks passed
@browner12 browner12 deleted the AB-mysql-gotcha branch January 19, 2024 20:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants