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:
None 
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
Description:
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

DATABASES = {
    'default': {
        'ENGINE': 'django.db.backends.mysql',
        'NAME':'database1',
        'USER':'user',
        'PASSWORD':'******',
        'HOST':'mysql-11111-0.cloudclusters.net',
        'Port':'11111',
    }
}
```
on migrating getting the above Error.Kindly help.
 

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