From 706222e14f34905949e077001cfd25be8dc74488 Mon Sep 17 00:00:00 2001 From: Ian Gilfillan Date: Tue, 12 Jan 2021 22:47:34 +0200 Subject: [PATCH] Mention MariaDB as well --- session/database.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/session/database.rst b/session/database.rst index badd1412145..6430517c647 100644 --- a/session/database.rst +++ b/session/database.rst @@ -166,11 +166,11 @@ parallel and only the first one stored the CSRF token in the session. If you use Memcached instead of Redis, follow a similar approach but replace ``RedisSessionHandler`` by :class:`Symfony\\Component\\HttpFoundation\\Session\\Storage\\Handler\\MemcachedSessionHandler`. -Store Sessions in a Relational Database (MySQL, PostgreSQL) +Store Sessions in a Relational Database (MariaDB, MySQL, PostgreSQL) ----------------------------------------------------------- Symfony includes a :class:`Symfony\\Component\\HttpFoundation\\Session\\Storage\\Handler\\PdoSessionHandler` -to store sessions in relational databases like MySQL and PostgreSQL. To use it, +to store sessions in relational databases like MariaDB, MySQL and PostgreSQL. To use it, first register a new handler service with your database credentials: .. configuration-block:: @@ -379,8 +379,8 @@ file and run the migration with the following command: $ php bin/console doctrine:migrations:migrate -MySQL -..... +MariaDB/MySQL +............. .. code-block:: sql