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

2019-01-23 Thread Motaz Hejaze
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 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 >

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

2019-01-22 Thread Anirudh Jain
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'@'

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

2019-01-22 Thread RETAIL CYBER
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 u

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

2019-01-22 Thread RETAIL CYBER
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': {