moll-re / moll.re

0 stars 0 forks source link

Setting up a self-hosted mysql instance #2

Open moll-re opened 3 years ago

moll-re commented 3 years ago
moll-re commented 3 years ago

For django, set the backend to django.db.backends.mysql and install mysqlclient through pip. This also requires system-packages:

sudo apt-get install python3-dev default-libmysqlclient-dev build-essential

EDIT: for arch-linux the package is: mariadb-libs

moll-re commented 3 years ago

Aditionally: enable emoji support and utf8 in general: Is a client issue. TODO: change in django and peewee!