[Answered ]-How do I connect Django from desktop to the remote Mysql Server?

2👍

Check the DATABASES setting in your settings.py. You should have something like

DATABASES = {
    'default': {
        'ENGINE': 'django.db.backends.mysql',
        'NAME': 'database',
        'USER': 'user',
        'PASSWORD': 'password',
        'HOST': 'localhost',
        'PORT': '',
    }
}

Just change localhost to your desired hostname.

Leave a comment