Sachin K
Sachin K

Reputation: 349

Django migrating from sqlite to MySQL. Fixture error

I'm trying to export my SQLite data and then import into MySQL (after making the appropriate changes to the settings.py file). Here is the error I see when trying to import the data:

python manage.py loaddata < datadump.json

CommandError: No database fixture specified. Please provide the path of at least one fixture in     the command line.

Any ideas on what the problem could be?

Upvotes: 0

Views: 484

Answers (1)

remy
remy

Reputation: 4743

Remove the '<'

python manage.py loaddata datadump.json

Upvotes: 2

Related Questions