Re: syncdb not finding and syncing my MySQL database
To clarify the I entered the command "python manage.py syncdb" from the the terminal prompt (current directory) which is consistent with my apps directory. Manage.py is in the project root and executes because its in my search path. I am currently at my day job so I am not able to send the trace-back. I'll do that tonight. I apologize for not providing better info. Bill On Nov 21, 1:29 pm, Furbeewrote: > Yes, please offer more details. One thing I noticed off the bat, though, > was that you said you are running "python manage.py syncdb" from the > directory where your models.py is. The manage.py file is at the root of > your project, not in the apps folder(s) where models.py is. > > Furbee > > On Mon, Nov 21, 2011 at 10:13 AM, Anoop Thomas Mathew wrote: > > > > > > > > > Hi, > > > "I am getting an error" > > This is not a proper way to ask question. Please post > > your trace-back somewhere and send the link to the group or at least > > specify what error is it, so that, we could help you. > > Thanks, > > Anoop > > > atm > > ___ > > Life is short, Live it hard. > > > On 21 November 2011 23:31, BillB1951 wrote: > > >> Problem when I try to run "python manage.py" I get an error. It > >> appears that my MySQL database cannot be found, but syncdb know it's > >> name, which I assume it got from my settings.py file. > > >> Any suggests will be very much appreciated. Thanks > > >> Bill > > > -- > > You received this message because you are subscribed to the Google Groups > > "Django users" group. > > To post to this group, send email to django-users@googlegroups.com. > > To unsubscribe from this group, send email to > > django-users+unsubscr...@googlegroups.com. > > For more options, visit this group at > >http://groups.google.com/group/django-users?hl=en. -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
Re: syncdb not finding and syncing my MySQL database
Yes, please offer more details. One thing I noticed off the bat, though, was that you said you are running "python manage.py syncdb" from the directory where your models.py is. The manage.py file is at the root of your project, not in the apps folder(s) where models.py is. Furbee On Mon, Nov 21, 2011 at 10:13 AM, Anoop Thomas Mathewwrote: > Hi, > > "I am getting an error" > This is not a proper way to ask question. Please post > your trace-back somewhere and send the link to the group or at least > specify what error is it, so that, we could help you. > Thanks, > Anoop > > > atm > ___ > Life is short, Live it hard. > > > > > > On 21 November 2011 23:31, BillB1951 wrote: > >> Problem when I try to run "python manage.py" I get an error. It >> appears that my MySQL database cannot be found, but syncdb know it's >> name, which I assume it got from my settings.py file. >> >> Any suggests will be very much appreciated. Thanks >> >> Bill >> > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To post to this group, send email to django-users@googlegroups.com. > To unsubscribe from this group, send email to > django-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. > -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
Re: syncdb not finding and syncing my MySQL database
Hi, "I am getting an error" This is not a proper way to ask question. Please post your trace-back somewhere and send the link to the group or at least specify what error is it, so that, we could help you. Thanks, Anoop atm ___ Life is short, Live it hard. On 21 November 2011 23:31, BillB1951wrote: > Problem when I try to run "python manage.py" I get an error. It > appears that my MySQL database cannot be found, but syncdb know it's > name, which I assume it got from my settings.py file. > > Any suggests will be very much appreciated. Thanks > > Bill > -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
syncdb not finding and syncing my MySQL database
I am attempting to run "python manage.py syncdb" from my apps directory (directory where model.py exists for the app). The settings.py database settings all appear to be ok. I have created MySQL database with the same name as in settings.py and I have verified its creation on the MySQL server. I can make a connection to the MySQL server from from my apps directory. Problem when I try to run "python manage.py" I get an error. It appears that my MySQL database cannot be found, but syncdb know it's name, which I assume it got from my settings.py file. Any suggests will be very much appreciated. Thanks Bill -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.