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.

Source Distribution

django-cymysql-3.1.0.tar.gz (9.9 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page