On my work PC is Server version: 10.1.14-MariaDB MariaDB Server
With brother: mysql Ver 14.14 Distrib 5.5.49, for debian-linux-gnu (x86_64) using readline 6.3
It cannot import from my dump. At me all without problems are imported, codings everywhere utf-8. Below is the error log:
mysql -uroot -p1111 -f pogladenota < ~/Рабочий\ стол/pogladenota_dump2.sql
ERROR 1064 (42000) at line 135: You have an error in your SQL syntax; is_superuser
, you is_superuser
out is_superuser
to use the syntax to use it. (6) DEFAULT NULL, is_superuser
tinyint (1) NOT NULL, username
varchar (30) 'at line 4 ERROR 1146 (42S02) at line 156: Table 'pogladenota.auth_user' doesn't exist ERROR 1146 (42S02) at line 157: Table 'pogladenota.auth_user' doesn't exist ERROR 1146 (42S02) at line 158: Table 'pogladenota.auth_user' does not exist ERROR 1146 (42S02) at line 159: Table 'pogladenota.auth_user' doesn't exist ERROR 1064 (42000) at line 226: syntax; If you’re on the right line, you object_repr
find out object_repr
the right side of the syntax of the syntax to use the '(6) NOT NULL, object_id
longtext, object_repr
varchar (200) NOT NULL, ' at line 3 ERROR 1146 (42S02) at line 247: Table 'pogladenota.django_admin_log' doesn't exist ERROR 1146 (42S02) at line 248: Table 'pogladenota.django_admin_log' doesn't exist ERROR 1146 (42S02) at line 249: Table 'pogladenota.django_admin_log' doesn't exist ERROR 1146 (42S02) at line 250: Table 'pogladenota.django_admin_log' doesn't exist ERROR 1064 (42000) at line 286: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '(6) NOT NULL, PRIMARY KEY (
) ) ENGINE=InnoDB AUTO_INCREMENT=77 DEFAULT CHA' at line 5 ERROR 1146 (42S02) at line 299: Table 'pogladenota.django_migrations' doesn't exist ERROR 1146 (42S02) at line 300: Table 'pogladenota.django_migrations' doesn't exist ERROR 1146 (42S02) at line 301: Table 'pogladenota.django_migrations' doesn't exist ERROR 1146 (42S02) at line 302: Table 'pogladenota.django_migrations' doesn't exist ERROR 1064 (42000) at line 312: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '(6) NOT NULL, PRIMARY KEY (
' at line 3 ERROR 1146 (42S02) at line 247: Table 'pogladenota.django_admin_log' doesn't exist ERROR 1146 (42S02) at line 248: Table 'pogladenota.django_admin_log' doesn't exist ERROR 1146 (42S02) at line 249: Table 'pogladenota.django_admin_log' doesn't exist ERROR 1146 (42S02) at line 250: Table 'pogladenota.django_admin_log' doesn't exist ERROR 1064 (42000) at line 286: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '(6) NOT NULL, PRIMARY KEY (
id ) ) ENGINE=InnoDB AUTO_INCREMENT=77 DEFAULT CHA' at line 5 ERROR 1146 (42S02) at line 299: Table 'pogladenota.django_migrations' doesn't exist ERROR 1146 (42S02) at line 300: Table 'pogladenota.django_migrations' doesn't exist ERROR 1146 (42S02) at line 301: Table 'pogladenota.django_migrations' doesn't exist ERROR 1146 (42S02) at line 302: Table 'pogladenota.django_migrations' doesn't exist ERROR 1064 (42000) at line 312: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '(6) NOT NULL, PRIMARY KEY (
) ) ENGINE=InnoDB AUTO_INCREMENT=77 DEFAULT CHA' at line 5 ERROR 1146 (42S02) at line 299: Table 'pogladenota.django_migrations' doesn't exist ERROR 1146 (42S02) at line 300: Table 'pogladenota.django_migrations' doesn't exist ERROR 1146 (42S02) at line 301: Table 'pogladenota.django_migrations' doesn't exist ERROR 1146 (42S02) at line 302: Table 'pogladenota.django_migrations' doesn't exist ERROR 1064 (42000) at line 312: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '(6) NOT NULL, PRIMARY KEY (
session_key ), KEY
django_session_de54fa62 (
e 'at line 4 ERROR 1146 (42S02) at line 325: Table' pogladenota .django_session 'doesn't exist ERROR 1146 (42S02) at line 326: Table' pogladenota.django_session 'doesn't exist ERROR 1146 (42S02) at line 327: Table' pogladenota.django_session 'doesn't exist ERROR 1146 (42S02) at line 328: Table 'pogladenota.django_session' does not exist (pogladenota) laptop ~ / Git / pogladenota $
Is it possible to somehow create a dump that will work for him? Or what flags should it import?