Hi sir,
On Wednesday, 26 February 2020 04:25:29 UTC+5:30, Stephen Loughin wrote:
-- Kindly use this as below,
'OPTIONS': { 'ssl' : { 'ssl_disabled': True } }
Cheers,
Naveen Arora
On Wednesday, 26 February 2020 04:25:29 UTC+5:30, Stephen Loughin wrote:
The django docs say I can pass OPTIONS for the db connection here:DATABASES = {
'default': {
'ENGINE': 'django.db.backends.mysql',
'OPTIONS': {
'ssl_disabled': 'True',
},
'NAME': 'somedatabase',
'USER': 'someuser',
'PASSWORD': 'somepassword',
'HOST': '10.0.0.1',
'PORT': '3306',
}Yet when I try python manage.py runserver I get this:TypeError: 'ssl_disabled' is an invalid keyword argument for connect()
Thanks,I have also tried 'ssl_disabled': True, # that is an actual boolean rather than string...Same result. Running django 3 and python 3.7.4
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/2dbfa0b2-6e91-4a21-89d6-f8adb5383ceb%40googlegroups.com.
No comments:
Post a Comment