all tutorials ive seen is in the view of someone doing it on a home pc
how can i connect to mysql thats already on my vps server. its with centos 
linx


im following this tutorial
https://docs.djangoproject.com/en/2.0/intro/tutorial02/


what I altered below:


DATABASES = {
    'default': {
        'ENGINE': 'django.db.backends.mysql',
        'NAME': 'urbanpyt_polls',
        'USER': 'urbanpyt_dbz',
        'PASSWORD': 'shawn316613'
        'HOST': 'localhost',
        'port': '',
    }
}

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/554da5eb-099b-46be-9332-913ba6643752%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to