Skip to content

Commit 901b623

Browse files
committed
minor symfony#14572 Update doctrine.rst (abdounikarim)
This PR was merged into the 4.4 branch. Discussion ---------- Update doctrine.rst Hello, I just add env variable for mariadb. Commits ------- c639ea4 Update doctrine.rst
2 parents ef0b3fb + c639ea4 commit 901b623

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

doctrine.rst

+3
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,9 @@ The database connection information is stored as an environment variable called
4646
# customize this line!
4747
DATABASE_URL="mysql://db_user:db_password@127.0.0.1:3306/db_name?serverVersion=5.7"
4848
49+
# to use mariadb:
50+
DATABASE_URL="mysql://db_user:db_password@127.0.0.1:3306/db_name?serverVersion=mariadb-10.5.8"
51+
4952
# to use sqlite:
5053
# DATABASE_URL="sqlite:///%kernel.project_dir%/var/app.db"
5154

0 commit comments

Comments
 (0)