Re: problem with syncdb and MyQSL

2011-09-02 Thread John Boudreau
This is what I finally got: C:\Python27>python c:\python27\mysite2\manage.py syncdb Creating tables ... Creating table auth_permission Creating table auth_group_permissions Creating table auth_group Traceback (most recent call last): File "c:\python27\mysite2\manage.py", line 14, in execute

Re: problem with syncdb and MyQSL

2011-09-02 Thread John Boudreau
Ok. I created a new database entirely and un-commented the APPS. I then ran the following command: C:\Python27>python c:\python27\mysite2\manage.py syncdb I hit enter about 5 mins ago and it's still at: Creating tables Creating table auth_permission Creating table auth_group_permissions Creatin

Re: problem with syncdb and MyQSL

2011-09-02 Thread yoursurrogategod
The only thing that pops in my mind right about now is to delete the currently created table and then proceed to re-run syncdb (leave the other apps uncommented.) On Sep 2, 2011, at 1:01 PM, John Boudreau wrote: > Great. Yes, when I first experienced the issue (prior to creating the polls > a

Re: problem with syncdb and MyQSL

2011-09-02 Thread John Boudreau
Great. Yes, when I first experienced the issue (prior to creating the polls app, with those APPS un-commented), I logged into the database and found the following tables had been created: TableRowsTypeSizeCommentsauth_group_permissions0Xeround0 Bauth_permission0 Xeround0 B2 tables0--0 B So it lo

Re: problem with syncdb and MyQSL

2011-09-02 Thread Yves S. Garret
I'm curious, maybe someone knows this who has actually seen the code behind the scenes, but is this actually true? When Django says "Creating tables ... Creating table polls_poll", does that mean it's already connected to the database and working on it or is it a message that's produced

Re: problem with syncdb and MyQSL

2011-09-02 Thread John Boudreau
I had the same problem with those un-commented, so I create an app polls (per the tutorial) and commented those out to see if it made a difference and it didn't. In the tutorial is says, "For the minimalists Like we said above, the default applications are included for the common case, but not e

Re: problem with syncdb and MyQSL

2011-09-02 Thread Yves S. Garret
I'm looking at this portion: +++ INSTALLED_APPS = ( #'django.contrib.auth', #'django.contrib.contenttypes', #'django.contrib.sessions', #'django.contrib.sites', #'django.contrib.messages', #'django.contrib.staticfiles', 'polls' # Unco

Re: problem with syncdb and MyQSL

2011-09-02 Thread John Boudreau
Yes I have. When I run the syncdb command it starts creating the tables then hangs So it is connecting to the MySql DB I created... On Fri, Sep 2, 2011 at 12:43 PM, chandrakant kumar wrote: > On 9/2/11, John wrote: > > I am a total noob so forgive my ignorance, but I have been going > > thr

Re: problem with syncdb and MyQSL

2011-09-02 Thread chandrakant kumar
On 9/2/11, John wrote: > I am a total noob so forgive my ignorance, but I have been going > through the Django tutorial - > https://docs.djangoproject.com/en/1.3/intro/tutorial01/ > > I am at the point in the tutorial where I run the following command: > > C:\Python27>python c:\python27\mysite2\ma

Re: problem with syncdb and MyQSL

2011-09-02 Thread John
On Sep 2, 12:37 pm, "Yves S. Garret" wrote: > Show me your settings.py file, just post all of it. > Please see my settings.py file below. I "X's" out the password etc DEBUG = True TEMPLATE_DEBUG = DEBUG ADMINS = ( # ('Your Name', 'your_em...@example.com'), ) MANAGERS = ADMINS DATABA

Re: problem with syncdb and MyQSL

2011-09-02 Thread Yves S. Garret
Show me your settings.py file, just post all of it. On Fri, Sep 2, 2011 at 11:38 AM, John wrote: > I am a total noob so forgive my ignorance, but I have been going > through the Django tutorial - > https://docs.djangoproject.com/en/1.3/intro/tutorial01/ > > I am at the point in the tutorial wher

problem with syncdb and MyQSL

2011-09-02 Thread John
I am a total noob so forgive my ignorance, but I have been going through the Django tutorial - https://docs.djangoproject.com/en/1.3/intro/tutorial01/ I am at the point in the tutorial where I run the following command: C:\Python27>python c:\python27\mysite2\manage.py syncdb Creating tables ...