在进行MySQL本地数据的导入时,如果提示错误(ERROR 3948 (42000): Loading local data is disabled; this must be enabled on both the client and server sides),需要设置在服务器端和客户端允许数据导入,方式如下:
客户端:登陆时使用命令mysql --local-infile=1 -hlocalhost -u root -p
服务器端:登陆后运行命令SET GLOBAL local_infile=1;
3615

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



