使用 load 加载 csv 数据至 OceanBase 报错 ERROR 1227 (42501): Access denied

之前的钉钉群的问答, 备份到问答上

mysql> load data infile ‘/data/zzz/market_mo_track_event_user_bind_all.csv’ into table market_mo_track_event_user_bind_all;
ERROR 1227 (42501): Access denied
使用MySQL Server version: 5.6.25 OceanBase 3.1.4 客户端通过OBProxy给OB导入CSV数据,遇到错误?

1、OceanBase 数据库中的 LOAD DATA 语句仅支持加载 OBServer 本地的输入文件。
2、安全路径的变量设置要置空 SET GLOBAL secure_file_priv = ‘’;
3、数据库用户的 file 权限:grant file on . to USER_NAME;

感谢大佬,在4.0.0的操作中掉了同一个坑,需要本地执行才行

大佬,为什么我执行这条指令会报:
modify SECURE_FILE_PRIV not by unix socket connection not supported
版本4.2