Hi Steve,
-- Plz review again to take a right parameter.
Welcome.
On Wed, Feb 26, 2020, 05:54 Stephen Loughin <sloughin@gmail.com> 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/CAHM1-MAfUCJtZG5%2B5bOMO_bzYr6E8J%2BO28YNxXPZD4MZNyj5eg%40mail.gmail.com.
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/CAP5HUWqDbyHiQ170z147CmTsq3-1UTx2Z7hpLntui7BFV7MSuA%40mail.gmail.com.
No comments:
Post a Comment