Skip to content

Commit 938350b

Browse files
committed
minor symfony#14570 Update dbal.rst (abdounikarim)
This PR was merged into the 4.4 branch. Discussion ---------- Update dbal.rst Hello, I updated mysql env database_url. Commits ------- 5a95590 Update dbal.rst
2 parents d524029 + 5a95590 commit 938350b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doctrine/dbal.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ Then configure the ``DATABASE_URL`` environment variable in ``.env``:
3535
# .env (or override DATABASE_URL in .env.local to avoid committing your changes)
3636
3737
# customize this line!
38-
DATABASE_URL="mysql://db_user:db_password@127.0.0.1:3306/db_name"
38+
DATABASE_URL=mysql://db_user:db_password@127.0.0.1:3306/db_name?serverVersion=5.7
3939
4040
Further things can be configured in ``config/packages/doctrine.yaml`` - see
4141
:ref:`reference-dbal-configuration`. Remove the ``orm`` key in that file

0 commit comments

Comments
 (0)