I have 10 tables in my database(MySQL). two of them is given below
tbl_state
state_id |int(10) |UNSIGNED ZEROFILL auto_increment
You want to disable foreign key checks at start of the dump, and then enable them after all the data is dumped:
SET FOREIGN_KEY_CHECKS=0 ... dump ... SET FOREIGN_KEY_CHECKS=1
By any chance if you use SQLYog. Use this property.