Skip to content

Collation and charset? #96

Open
Open
@AndreaCrotti

Description

@AndreaCrotti

Is there a way to define the DB url in such a way that also the COLLATION and CHARSET would get set as below?

        'mysql': {
            'ENGINE': 'django.db.backends.mysql',
            'NAME': 'django2',
            'USER': 'user',
            'PASSWORD': 'password',
            'HOST': 'localhost',
            'PORT': '3306',
            'OPTIONS': {'init_command': 'SET storage_engine=INNODB'},
            'STORAGE_ENGINE': 'INNODB',
            'COLLATION': 'utf8-general_ci',
            'CHARSET': 'utf-8',
        },

thanks a lot!

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationquestionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions