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.2.0.tar.gz (10.7 kB view details)

Uploaded Source

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

Hashes for django-cymysql-3.2.0.tar.gz
Algorithm Hash digest
SHA256 e3cf86cbf785c96002216dcfe35285e977bcc9cd0ac1d7ef75ee130ca6548f15
MD5 df1cd6df459c6ab54dba8f7336310f05
BLAKE2b-256 484f2abdc8d7dd3a40ed4d0a799ac28c44b0a74882ee2f15ab46b777c28833e8

See more details on using hashes here.

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