Quantcast
Channel: migrating to mysql in django - Stack Overflow
Viewing all articles
Browse latest Browse all 3

Answer by Ilia Novoselov for migrating to mysql in django

$
0
0

You have consistency error in your data, django_admin_log table refers to auth_user which does not exist. sqlite does not enforce foreign key constraints, but mysql does. You need to fix data and then you can import it into mysql.


Viewing all articles
Browse latest Browse all 3

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>