问题描述:
执行成功C#vol代码成功但是会出现日志批量写入数据时出错:Loading local data is disabled; this must be enabled on both the client and server sides,这是属于mysql报错。
问题解决:
搜索MySQL 8.0 Command Line Client(我这里用的8.0版本)
输入自己的密码,登录运行:
show global variables like 'local_infile';
修改local_infile 为NO
set global local_infile=1;
再次查看,问题已经解决。