1
0
mirror of https://github.com/django/django.git synced 2025-10-24 06:06:09 +00:00

Refs #29548 -- Updated docs for MariaDB support.

This commit is contained in:
Mariusz Felisiak
2019-05-27 19:59:49 +02:00
committed by GitHub
parent 5ec44973dc
commit b6c4766f53
10 changed files with 33 additions and 13 deletions

View File

@@ -268,6 +268,18 @@ non-durable <https://www.postgresql.org/docs/current/non-durability.html>`_.
a development machine where you can easily restore the entire contents of
all databases in the cluster.
.. _mariadb-notes:
MariaDB notes
=============
.. versionadded:: 3.0
Django supports MariaDB 10.1 and higher.
To use MariaDB, use the MySQL backend, which is shared between the two. See the
:ref:`MySQL notes <mysql-notes>` for more details.
.. _mysql-notes:
MySQL notes

View File

@@ -72,7 +72,7 @@ If your database table name is an SQL reserved word, or contains characters that
aren't allowed in Python variable names -- notably, the hyphen -- that's OK.
Django quotes column and table names behind the scenes.
.. admonition:: Use lowercase table names for MySQL
.. admonition:: Use lowercase table names for MariaDB and MySQL
It is strongly advised that you use lowercase table names when you override
the table name via ``db_table``, particularly if you are using the MySQL

View File

@@ -487,7 +487,7 @@ SQLite. This can be configured using the following::
}
}
When connecting to other database backends, such as MySQL, Oracle, or
When connecting to other database backends, such as MariaDB, MySQL, Oracle, or
PostgreSQL, additional connection parameters will be required. See
the :setting:`ENGINE <DATABASE-ENGINE>` setting below on how to specify
other database types. This example is for PostgreSQL::