Does MySQL foreign_key_checks affect the entire database?

后端 未结 6 1189
南方客
南方客 2020-11-30 18:27

When I execute this command in MySQL:

SET FOREIGN_KEY_CHECKS=0;

Does it affect the whole engine or it is only my current transaction?

6条回答
  •  感情败类
    2020-11-30 19:31

    In case of using Mysql query browser, SET FOREIGN_KEY_CHECKS=0; does not have any impact in version 1.1.20. However, it works fine on Mysql query browser 1.2.17

提交回复
热议问题