We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a672a0 commit 8060d7eCopy full SHA for 8060d7e
doctrine.rst
@@ -44,10 +44,13 @@ The database connection information is stored as an environment variable called
44
# .env (or override DATABASE_URL in .env.local to avoid committing your changes)
45
46
# customize this line!
47
- DATABASE_URL="mysql://db_user:db_password@127.0.0.1:3306/db_name"
+ DATABASE_URL="mysql://db_user:db_password@127.0.0.1:3306/db_name?serverVersion=5.7"
48
49
# to use sqlite:
50
# DATABASE_URL="sqlite:///%kernel.project_dir%/var/app.db"
51
+
52
+ # to use postgresql:
53
+ # DATABASE_URL="postgresql://db_user:db_password@127.0.0.1:5432/db_name?serverVersion=11&charset=utf8"
54
55
.. caution::
56
0 commit comments