#9534: syncdb attempts to create the already created db tables again
---------------------------------------------------+------------------------
          Reporter:  aatif                         |         Owner:  nobody
            Status:  reopened                      |     Milestone:        
         Component:  Database layer (models, ORM)  |       Version:  1.0   
        Resolution:                                |      Keywords:        
             Stage:  Unreviewed                    |     Has_patch:  0     
        Needs_docs:  0                             |   Needs_tests:  0     
Needs_better_patch:  0                             |  
---------------------------------------------------+------------------------
Changes (by aatif):

  * status:  closed => reopened
  * resolution:  duplicate =>

Comment:

 >  * What DB backend are you using?
 '''MySQL'''
 >  * If applicable, what version of RDBMS?
 '''-'''
 >  * What are application and model names, the table names?
 '''Application name is 'People', model name is 'Person', table name is
 'people_person'.'''
 >  * What's the table affected? one corresponding to a model in your app
 or to another application?
 '''in my application'''
 >  * Reproduce from the start and describe the exact work flow you are
 following from creating the project/application to the point where you get
 the error message
 '''I was following a step by step session of a book on Django, created a
 project, added an application, syncdb (people_person was created here),
 added admin interface to the project, configuring url for admin, tried to
 syncdb again, and My SQL popped error (table "people_person already
 exists").'''
 >  * Describe how the already existing table was created (manually? by
 another RDBMS user?, by syncdb itself?)
 '''syncdb itself'''
 >  * Paste the exact error message
 '''errorvalue_mysql_exceptions.OperationalError: (1050, "Table
 'people_person' already exists")'''

-- 
Ticket URL: <http://code.djangoproject.com/ticket/9534#comment:3>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to