Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7544433
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T08:40:15+00:00 2026-05-30T08:40:15+00:00

I have changed the Django models, and I use the Django schemamigration to update

  • 0

I have changed the Django models, and I use the Django schemamigration to update the database. But, when I do python manager.py migrate app, it throws this error message:

_mysql_exceptions.OperationalError: (1050, "Table 'forum_user' already exists")
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T08:40:16+00:00Added an answer on May 30, 2026 at 8:40 am

    Then the table that django south is trying to create already exists and doesn’t match the state of your database.

    If this is the first time you’re migrating, remember that before you make schemamigration changes, you must set the initial state via schemamigration myapp --initial and migrate app --fake to match the database to the south database state.

    manage.py convert_to_south myapp also does the above as a convenience method.

    To start using south…

    1. Make sure your django tables match your current database tables exactly – if you planned to add or remove columns, comment those out.
    2. Run python manage.py schemamigration myapp –initial
    3. Run python manage.py migrate myapp –fake
    4. Make changes to your django model
    5. Run python manage.py schemamigration myapp –auto
    6. Run python manage.py migrate myapp

    Update

    Note django 1.7+ ships with migrations and south is no longer in use.

    There are only two commands worth noting..

    • manage.py makemigrations (handles –initial)
    • manage.py migrate

    Written by the same author as South, crowd funded. Go django.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using South with Django for database migrations. In my models.py I changed
I have a Django view called change_priority. I'm posting a request to this view
I have changed the Treeview.HideSelection = false; But how do I insure that when
I want a Python object that will monitor whether other objects have changed since
I have a django project that uses a sqlite database that can be written
I have an extended UserProfile model in django: class UserProfile(models.Model): user = models.ForeignKey(User, unique=True)
This must be in the Django docs somewhere but I can't seem to find
In my django app, I have some objects that cause the corresponding URL in
I have an application which is in BETA mode. The model of this app
I have a django model in use on a production application and I need

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.