IdeoREX
IdeoREX

Reputation: 1485

Python Mange.py syncDB - DatabaseError

I'm trying to transfer a django project to a new mysql server. I don't care about the data.

I created a new database, changed the name in settings.py, and created a table inside of it to match that of the models.py. when I run python manage.py syncdb I receive an error. Has anyone encountered this error before and if so how do I fix it?

DatabaseError: (1146, "Table 'data_Summertime.livestream_stream' doesn't exist")

data_Summertime - Mysql server livestream - appname stream - models

Upvotes: 1

Views: 187

Answers (1)

culebrón
culebrón

Reputation: 36453

syncdb creates all tables for you, so drop that table and run syncdb again.

Upvotes: 1

Related Questions