SET FOREIGN_KEY_CHECKS=0; truncate table QRTZ_BLOB_TRIGGERS; truncate table QRTZ_CALENDARS; truncate table QRTZ_CRON_TRIGGERS; truncate table QRTZ_FIRED_TRIGGERS; truncate table QRTZ_JOB_DETAILS; truncate table QRTZ_LOCKS; truncate table QRTZ_PAUSED_TRIGGER_GRPS; truncate table QRTZ_SCHEDULER_STATE; truncate table QRTZ_SIMPLE_TRIGGERS; truncate table QRTZ_SIMPROP_TRIGGERS; truncate table QRTZ_TRIGGERS;
MySQL 关闭FOREIGN_KEY_CHECKS检查
转载本文章为转载内容,我们尊重原作者对文章享有的著作权。如有内容错误或侵权问题,欢迎原作者联系我们进行内容更正或删除文章。
提问和评论都可以,用心的回复会被更多人看到
评论
发布评论
相关文章
-
FOREIGN_KEY_CHECKS
Mysql中如果表和表之间建立的外键约束,则无法删除表及修改表结构。解决方
数据库 sql 外键约束 解决方法 -
SET FOREIGN_KEY_CHECKS命令
计使用若关联,即不使用外键约束表,只是在表里加...
mysql 外键 sql -
mysql 设置外键约束SET FOREIGN_KEY_CHECKS=1
问题描述:Mysql中如果表和表之间建立的外键约束,则无法删除表 _CHECKS=1;...
mysql 外键约束 外键 数据 表结构 -
(mysql)Foreign key的使用 InnoDB
1)外键的使用:外键的作用,主要有两个:一个是让数据库来很大的麻烦.因为数据库
mysql 数据库 脚本 null 外键