Mysql: forcibly drop a table having foreign constraints

# /opt/lampp/bin/mysql -u root -p -D mydb -e "SET FOREIGN_KEY_CHECKS=0; drop table my_table; SET FOREIGN_KEY_CHECKS=1;"

No comments: