I have tried to delete database and re-sync, but failed again. I also disabled FOREIGN_KEY_CHECKS in Mariadb ,but no effect.
MariaDB [mysql]> SELECT @@FOREIGN_KEY_CHECKS;
+----------------------+
| @@FOREIGN_KEY_CHECKS |
+----------------------+
| 0 |
+----------------------+
1 row in set (0.000 sec)
I have tried to delete database and re-sync, but failed again. I also disabled FOREIGN_KEY_CHECKS in Mariadb ,but no effect. KEY_CHECKS; ------- ------- --+ KEY_CHECKS | ------- ------- --+ ------- ------- --+
MariaDB [mysql]> SELECT @@FOREIGN_
+------
| @@FOREIGN_
+------
| 0 |
+------
1 row in set (0.000 sec)