diff --git a/doctrine.rst b/doctrine.rst index 04cbe6710ca..88b5237e6e1 100644 --- a/doctrine.rst +++ b/doctrine.rst @@ -61,7 +61,7 @@ The database connection information is stored as an environment variable called .. caution:: If the username, password, host or database name contain any character considered - special in a URI (such as ``+``, ``@``, ``$``, ``#``, ``/``, ``:``, ``*``, ``!``), + special in a URI (such as ``+``, ``@``, ``$``, ``#``, ``/``, ``:``, ``*``, ``!``, ``%``), you must encode them. See `RFC 3986`_ for the full list of reserved characters or use the :phpfunction:`urlencode` function to encode them. In this case you need to remove the ``resolve:`` prefix in ``config/packages/doctrine.yaml`` to avoid errors: