Skip to main content
Join the official 2020 Python Developers SurveyStart the survey!

Django database backend for cymysql

Project description

Django mysql database backend for cymysql

Requirements

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for django-cymysql, version 3.1.0
Filename, size File type Python version Upload date Hashes
Filename, size django-cymysql-3.1.0.tar.gz (9.9 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page