Drop table – mysql

mysql> drop table AttributeMap;

ERROR 1217 (23000): Cannot delete or update a parent row: a foreign key constraint fails

 

mysql> SET FOREIGN_KEY_CHECKS=0;