heroku+django+mysql: sslmode not supported.
See original GitHub issueBased on docs: there’s no ‘sslmode’ attribute. The following code gives me the exception: 'sslmode' is an invalid keyword argument
.
This issue is possibly related to other backends like sqlite as well.
Workaround:
On settings.py after:
django_heroku.settings(locals())
add:
del DATABASES['default']['OPTIONS']['sslmode']
Issue Analytics
- State:
- Created 5 years ago
- Reactions:37
- Comments:13 (2 by maintainers)
Top Results From Across the Web
Developers - heroku+django+mysql: sslmode not supported. -
Based on docs: there's no 'sslmode' attribute. The following code gives me the exception: 'sslmode' is an invalid keyword argument .
Read more >heroku+django+mysql: sslmode not supported. · Issue #107
The following code gives me the exception: 'sslmode' is an invalid keyword argument . This issue is possibly related to other backends like...
Read more >asp.net core error - Keyword not supported: 'sslmode'
1) Go to package manager console. enter image description here. 2) Install package: MySql.Data.EntityFrameworkCore.
Read more >Deploying Django to Heroku: Connecting Heroku Postgres
Here's everything you need to know to get your database working on Heroku. Deploying a Django app successfully to Heroku is ...
Read more >System.ArgumentException: 'Keyword not supported: 'sslmode ...
ArgumentException: 'Keyword not supported: 'sslmode'.' error. Entity framework, mysql.data.entity and mysql.data packages are installed.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I got this error: del DATABASES[‘default’][‘OPTIONS’][‘sslmode’] KeyError: ‘OPTIONS’
Thank you very much !