===MySQL DB Importation error w.r.t. Foreign Key Constraints failure=== When importing a MySQL DB in N99panel, via [[:n99panel:restore_sql_file|MySQL DB import functionality]], and if you see any error under N99panel tasks pertaining to ‘Cannot add or update a child row: a foreign key constraint fails’ or any similar errors w.r.t. foreign key constraints failure, please do the following action. Place the following line SET SESSION FOREIGN_KEY_CHECKS=0; as the very first line in your SQL File , and try re-importing again. This should solve the issue.