Skip to content

Commit 5a95590

Browse files
authored
Update dbal.rst
Hello, I updated mysql env database_url.
1 parent c5dbbd7 commit 5a95590

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)