Django database backend for cymysql
Project description
Django mysql database backend for cymysql
Requirements
Django 1.10, 1.11, 2.0, 2.1, 2.2, 3.0, 3.1
CyMySQL (https://github.com/nakagami/CyMySQL) 0.9.3+
Installation
Install with Django x.y.z.
$ pip install cymysql $ pip install "django-cymysql>=x.y,<x.y+1" $ pip install Django==x.y.z
Database
Create database (set default character set to ‘utf8’)
mysql> create database some_what_database default character set utf8;
Settings
DATABASES = { 'default': { 'ENGINE': 'mysql_cymysql', 'NAME': 'some_what_database', 'HOST': ..., 'USER': ..., 'PASSWORD': ..., } }
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
django-cymysql-3.1.0.tar.gz
(9.9 kB
view hashes)