show global varaiables like 'local_infile';
出现:
+---------------+-------+
| Variable_name | Value |
+---------------+-------+
| local_infile | OFF |
+---------------+-------+
1 row in set (0.00 sec)
服务器端,local_infile默认开启;客户端,local_infile默认关闭,因此用的时候需要打开。
set global local_infile = 'ON';
问题解决
出现The used command is not allowed with this MySQL version问题&spm=1001.2101.3001.5002&articleId=83119687&d=1&t=3&u=9ccb4b0af3ef41708b1a850287fb1fce)
1万+

被折叠的 条评论
为什么被折叠?



