Skip to main content

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.

Filename, size & hash SHA256 hash help File type Python version Upload date
django-cymysql-2.1.0.tar.gz (8.5 kB) Copy SHA256 hash SHA256 Source None Aug 2, 2018

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page