Skip to content

Commit 0cad138

Browse files
committed
Merge branch '4.4' into 5.1
* 4.4: Mention MariaDB as well
2 parents 571a2e6 + 794de34 commit 0cad138

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

session/database.rst

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -166,11 +166,11 @@ parallel and only the first one stored the CSRF token in the session.
166166
If you use Memcached instead of Redis, follow a similar approach but replace
167167
``RedisSessionHandler`` by :class:`Symfony\\Component\\HttpFoundation\\Session\\Storage\\Handler\\MemcachedSessionHandler`.
168168

169-
Store Sessions in a Relational Database (MySQL, PostgreSQL)
170-
-----------------------------------------------------------
169+
Store Sessions in a Relational Database (MariaDB, MySQL, PostgreSQL)
170+
--------------------------------------------------------------------
171171

172172
Symfony includes a :class:`Symfony\\Component\\HttpFoundation\\Session\\Storage\\Handler\\PdoSessionHandler`
173-
to store sessions in relational databases like MySQL and PostgreSQL. To use it,
173+
to store sessions in relational databases like MariaDB, MySQL and PostgreSQL. To use it,
174174
first register a new handler service with your database credentials:
175175

176176
.. configuration-block::
@@ -390,8 +390,10 @@ file and run the migration with the following command:
390390
391391
$ php bin/console doctrine:migrations:migrate
392392
393-
MySQL
394-
.....
393+
.. _mysql:
394+
395+
MariaDB/MySQL
396+
.............
395397

396398
.. code-block:: sql
397399

0 commit comments

Comments
 (0)