forked from symfony/flex
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
22 additions
and
2 deletions.
There are no files selected for viewing
12 changes: 12 additions & 0 deletions
12
doctrine/doctrine-bundle/1.6/config/packages/doctrine.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,7 @@ | |
"env": { | ||
"#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" | ||
"#3": "Configure your db driver and server_version in config/packages/doctrine.yaml", | ||
"DATABASE_URL": "mysql://db_user:[email protected]:3306/db_name" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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</> |