Tuesday, January 22, 2019

Been having problems getting things running correctly on my Vps doing the blog tutorial. having problems loading mysql db

I'm following your tutorial here 
https://docs.djangoproject.com/en/2.0/intro/tutorial02/
I had to goto a different post to find out how to do the mysql and got stuck the other tutorial told me this is how you connect.
my vps has the following db made since thats what the django polls tutorial told me todo. dbz name urbanpyt_polls
this is my first time here. ive very patient.


this what i have altered this is my first time

I made this db this is on my vps server
urbanpythoncoding.com

DATABASES = {
    'default': {
        'ENGINE': 'django.db.backends.mysql',
        'NAME': 'urbanpyt_polls',
        'USER': 'urbanpyt_dbz',
        'PASSWORD': 'shawn316566613'
        '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 django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
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/9226f99b-5536-443b-aeb9-d5bc74cd08a5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment