I got this error in the process of deploying my django app to heroku and here is the solution I figured :
Change the DATABASE PORT to : '3306' and if you're still getting the error keep the port to '3307' and run your database server from Xampp.
I got this error in the process of deploying my django app to heroku and here is the solution I figured :
Change the DATABASE PORT to : '3306' and if you're still getting the error keep the port to '3307' and run your database server from Xampp.
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.mysql',
'NAME': 'db_demo',
'USER': 'root',
'PASSWORD': '12345',
'HOST': '127.0.0.1',
'PORT': '3306'
}
}