-
-
Notifications
You must be signed in to change notification settings - Fork 504
Add mariadb example to DATABASE_URL #1186
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
Changes from 1 commit
27a6a70
50d75d4
fad35c5
05f13e4
475a42a
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -11,7 +11,8 @@ | |||||
| "#2": "IMPORTANT: You MUST configure your server version, either here or in config/packages/doctrine.yaml", | ||||||
| "#3": "", | ||||||
| "#4": "DATABASE_URL=\"sqlite:///%kernel.project_dir%/var/data.db\"", | ||||||
| "#5": "DATABASE_URL=\"mysql://app:[email protected]:3306/app?serverVersion=8&charset=utf8mb4\"", | ||||||
| "#5": "DATABASE_URL=\"mysql://app:[email protected]:3306/app?serverVersion=mariadb-10.11&charset=utf8mb4\"", | ||||||
|
||||||
| "#5": "DATABASE_URL=\"mysql://app:[email protected]:3306/app?serverVersion=mariadb-10.11&charset=utf8mb4\"", | |
| "#5": "DATABASE_URL=\"mysql://app:[email protected]:3306/app?serverVersion=10.11.2-mariadb&charset=utf8mb4\"", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I noticed that the DBAL docs are outdated in that regard.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
interesting, didn't know that.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oracle is rolling out new features in MySQL 8.0.X releases nowadays, so it's a good practice to specify the full version.
| "#6": "DATABASE_URL=\"mysql://app:[email protected]:3306/app?serverVersion=8&charset=utf8mb4\"", | |
| "#6": "DATABASE_URL=\"mysql://app:[email protected]:3306/app?serverVersion=8.0.32&charset=utf8mb4\"", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Always fan of full version 👍 . Should we specifiy it also for postgresql?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we specifiy it also for postgresql?
We can do this for the sake of consistency, but since Postgres implements a much saner versioning policy, it's not really necessary.
Uh oh!
There was an error while loading. Please reload this page.