MySQL has no experience.

The situation is this: there is a project on Django (OS: Debian), but for its operation it is necessary to create tables. If you use python manage.py syncdb (using south ), then the result is a table conflict. As a solution to this problem, I was given a database dump. But I can't use it.

Tell me, please, how can I use the adopted database damp.sql.zip ( damp.sql.zip ) and thereby resolve the conflict with the tables?

  • Execute the sql-code transferred to you in the sqlite3 database, obviously - andreymal
  • @andreymal how to do this? - EmptyMan
  • cat damp.sql | sqlite3 /path/to/new_sqlite_file.db cat damp.sql | sqlite3 /path/to/new_sqlite_file.db ? - MaxU
  • @MaxU as a result: `...>` is this normal? And the file new_sqlite_file.db did not change the size (0kb) - EmptyMan
  • @EmptyMan, check if there is a COMMIT; at the end of the DUMP file ... - MaxU

0