Skip to content

Commit 7df63be

Browse files
authored
Update doctrine.rst
seems like something useful to document. People new to this will have a hard time figuring this out
1 parent 956d94c commit 7df63be

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

doctrine.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,13 @@ The database connection information is stored as an environment variable called
4040
4141
# to use sqlite:
4242
# DATABASE_URL="sqlite:///%kernel.project_dir%/var/app.db"
43+
44+
.. caution::
45+
46+
If you have special charactes in your password, it's possible that you will
47+
have to percent encode them. The driver manager uses PHP's ``parse_url()``
48+
that implements _`RFC 3986`: http://www.faqs.org/rfcs/rfc3986.html.
49+
The RFC lists characters that have to be encoded.
4350

4451
Now that your connection parameters are setup, Doctrine can create the ``db_name``
4552
database for you:

0 commit comments

Comments
 (0)