MariaDB Executing foreign key setup table truncate

 

SET FOREIGN_KEY_CHECKS = 0;
TRUNCATE TABLE [ TABLE NAME ];
SET FOREIGN_KEY_CHECKS = 1;