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, 3.2
CyMySQL (https://github.com/nakagami/CyMySQL) 0.9.18+
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.2.0.tar.gz
(10.7 kB
view details)
File details
Details for the file django-cymysql-3.2.0.tar.gz.
File metadata
- Download URL: django-cymysql-3.2.0.tar.gz
- Upload date:
- Size: 10.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e3cf86cbf785c96002216dcfe35285e977bcc9cd0ac1d7ef75ee130ca6548f15
|
|
| MD5 |
df1cd6df459c6ab54dba8f7336310f05
|
|
| BLAKE2b-256 |
484f2abdc8d7dd3a40ed4d0a799ac28c44b0a74882ee2f15ab46b777c28833e8
|