database - What's the best way to migrate a Django DB from SQLite to MySQL? -


I need to migrate my db from sqlite to mysql, and different tools / scripts are very easy for me.

It seemed good to me but it seems that having a concern takes 3 years ..

Can you recommend a solution that is known to have Django 1.1 To be reliable with .1?

Execute:

  python manage.py dumpdata & gt; Datadump.json  

Next, change your settings.py to mysql database.

Finally:

  Python manage.py loaddata Datadump.json  

Comments

Popular posts from this blog

windows - Heroku throws SQLITE3 Read only exception -

lex - Building a lexical Analyzer in Java -

python - rename keys in a dictionary -