Created
June 12, 2020 21:40
-
-
Save jackfiallos/bf43db0ed1c039e8d0ab271ebae9421b to your computer and use it in GitHub Desktop.
force truncate tables innoDB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SET FOREIGN_KEY_CHECKS = 0; | |
TRUNCATE table $table_name; | |
SET FOREIGN_KEY_CHECKS = 1; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment