Wednesday, January 23, 2019

Re: Poll Tutorial: I'm stuck I have mysql on my vps I created the database

really your question is not clear , 
what is the error message you got from debugger ??


On Wed, Jan 23, 2019 at 9:29 AM Anirudh Jain <anirudhajain.910@gmail.com> wrote:
First of all you can remove 'PORT'. Then the most important thing to do is to grant your user privileges to perform operations on mysql database that you must have created by the name 'urbanpyt_polls'. The easiest way to do is to run this query on mysql : GRANT ALL PRIVILEGES ON *.* TO 'username'@'localhost' IDENTIFIED BY 'password';
You only need to replace 'username' by your user and similarly the password.
After this - python manage.py makemigrations and then migrate

On Wed, Jan 23, 2019 at 12:28 PM RETAIL CYBER <shawndwytch@gmail.com> wrote:
has anyone ever install the django on a live web hosting service? if so when it comes to using db is the db virtual just like djangoEnv or do i use the mysql thats on my host? i have a vsp??

--
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/fb36ebb9-ad3c-448a-a290-2fac0f7cd345%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--
Anirudh Jain | Appreciate you taking time to read the mail.

--
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/CAC3mK7d3nUo%3DUy_%2B0yd8q_nvXHZbcRZmPoZAhuX-Rgg8wb%2BeTQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

--
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/CAHV4E-cjtC6bYsmS1mRHw-ObmLc4_YXfQP%3DuvDTt%2BJYV%3D8q_rA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment