Untitled

mail@pastecode.io avatar
unknown
plain_text
2 months ago
538 B
4
Indexable
Never
DATABASES = {
    'default': {
        'ENGINE': 'django.db.backends.mysql',
        'NAME': 'nalc-schema',
        'USER': 'nalc',
        'PASSWORD': '!p4msCitU',
        'HOST': 'nalc.mysql.database.azure.com',
        'PORT': '3306',
        'OPTIONS': {
            'init_command': "SET sql_mode='STRICT_TRANS_TABLES",
            'charset': 'utf8mb4',
            'ssl': {
                'ca': 'C:\Test\NALC\DigiCertGlobalRootCA.crt.pem',  # Adjust the path to your SSL certificate
            },
        },
    }
}
Leave a Comment