Bug #100604 OperationalError (2002,"can't connect to MYSQL Server
Submitted: 21 Aug 2020 13:33
Reporter: Ritu Mishra Email Updates:
Status: Open Impact on me:
Category:Connector / Python Severity:S1 (Critical)
Version: OS:Microsoft Windows
Assigned to: CPU Architecture:Any
Tags: cloudcluster, Django, djangodatabase

[21 Aug 2020 13:33] Ritu Mishra
django.db.utils.operationalerror:2002 through host -cloudcluster
Tried connecting my django application to my server 
its giving error- 
Exception has occoured: OperationalError (2002,"can't connect to MYSQL Server on'mysql-1111-0.cloudclusters.net'(10060)")

my database in settings.py is 
import django.contrib.gis.db.backends.mysql
import django.db.backends.mysql
import django.db.backends.mysql.client

    'default': {
        'ENGINE': 'django.db.backends.mysql',
on migrating getting the above Error.Kindly help.

How to repeat:
Run and migrate or debug to get the same error