标签:mysql near tps manual foreign ESS you 编辑器 wordpress
导入MySQL数据库出现"T FOREIGN_KEY_CHECKS = 0"错误
解决方法 来自:https://www.itbulu.com/foreign-key-checks.html
数据库从阿里云虚拟主机导出,出现"T FOREIGN_KEY_CHECKS = 0"提示错误,以及一行小字"You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘T FOREIGN_KEY_CHECKS = 0’ at line 1"。
解决办法:
文本编辑器打开数据库,然后将顶部的"SET FOREIGN_KEY_CHECKS = 0;"代码删除,然后再导入。
标签:mysql near tps manual foreign ESS you 编辑器 wordpress
原文地址:https://www.cnblogs.com/redwei/p/13282182.html