This is a read-only copy of the MariaDB Knowledgebase generated on 2024-11-17. For the latest, interactive version please visit https://mariadb.com/kb/.

Could you suggest a connector which can work for Django and mariaDB?

Hi, sirs. I am a new guy to learn Django and MariaDB. Could you suggest a connector which can work for Django and mariaDB? The environment is Python3.4, Django1.9, MariaDB10.0. Ubuntu15.10. Thanks a lot in advance.

Answer Answered by Bryan Alsdorf in this comment.

Hello!

The django MySQL connector (django.db.backends.mysql) works great with MariaDB. That is what we use for our Django / MariaDB projects.

A guide I found for slightly older versions of Django and ubuntu (but still should work) is here: https://www.digitalocean.com/community/tutorials/how-to-use-mysql-or-mariadb-with-your-django-application-on-ubuntu-14-04

Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.