Skip to content

Mention MariaDB as well #14828

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 22, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions session/database.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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::
Expand Down Expand Up @@ -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

Expand Down