mysql数据库使用mysql shell 导入数据时,报如下错误 ERROR: The ‘local_infile’ global system variable must be set to ON in the target server, after the server is verified to be trusted. 解决方法: 登录到mysql,在mysql命令行执行 SET GLOBAL local_infile = ON; 之后在mysql shell中重新导入数据即可