-
-
Notifications
You must be signed in to change notification settings - Fork 481
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
Always set Doctrine server version & platform #258
Changes from 6 commits
f446c92
61ca864
25e9678
cb9f0ed
72bf213
2d19e7c
2efa651
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 |
---|---|---|
|
@@ -10,6 +10,6 @@ | |
"#1": "Format described at http://docs.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/configuration.html#connecting-using-a-url", | ||
"#2": "For an SQLite database, use: \"sqlite:///%kernel.project_dir%/var/data.db\"", | ||
"#3": "Set \"serverVersion\" to your server version to avoid edge-case exceptions and extra database calls", | ||
"DATABASE_URL": "mysql://db_user:[email protected]:3306/db_name?charset=utf8mb4&serverVersion=5.7" | ||
"DATABASE_URL": "mysql://db_user:[email protected]:3306/db_name" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Would it make sense to mention that one should also not forget to change the There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Good idea. I just changed the |
||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<bg=blue;fg=white> </> | ||
<bg=blue;fg=white> Next: Configuration </> | ||
<bg=blue;fg=white> </> | ||
|
||
* Modify your DATABASE_URL config in <fg=green>.env</> | ||
|
||
* Configure the <fg=green>driver</> (mysql) and | ||
<fg=green>server_version</fg> (5.7) in <fg=green>config/packages/doctrine.yaml</> |
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.
"parameters" should be defined via the "container" configurator instead