mirror of
https://github.com/symfony/recipes.git
synced 2026-09-16 09:36:24 +03:00
Proposed a help note for the DB_URL config format
This commit is contained in:
committed by
Fabien Potencier
parent
6250f4695f
commit
193b15b7ae
@@ -7,7 +7,8 @@
|
|||||||
"src/": "%SRC_DIR%/"
|
"src/": "%SRC_DIR%/"
|
||||||
},
|
},
|
||||||
"env": {
|
"env": {
|
||||||
"#1": "For a sqlite database, use: \"sqlite:///%kernel.project_dir%/var/data.db\"",
|
"#1": "DB_URL format: \"vendor://username:password@host-or-ip:port/database-name?optional=config\"",
|
||||||
|
"#2": "For a sqlite database, use: \"sqlite:///%kernel.project_dir%/var/data.db\"",
|
||||||
"DB_URL": "mysql://root@127.0.0.1:3306/symfony?charset=utf8mb4"
|
"DB_URL": "mysql://root@127.0.0.1:3306/symfony?charset=utf8mb4"
|
||||||
},
|
},
|
||||||
"aliases": ["doctrine", "orm"]
|
"aliases": ["doctrine", "orm"]
|
||||||
|
|||||||
Reference in New Issue
Block a user