2018/11/14
MySQL8默认已经安装好了,详情可见博主上篇博文
导入数据进入数据表里面时候,遇到了三个报错。这三个问题之前也遇到过,也是费了不少劲,故在此记录。
博主的准备工作:用TPCDS工具包,生成好数据,创建好MySQL表。
接下来就是导入数据。
secure-file-priv option
如果直接导入,首先我们会遇到这样的一个报错
The MySQL server is running with the --secure-file-priv option so it cannot execute this statement
我们进入MySQL,输入show global variables like '%secure_file_priv%';
查看参数secure_file_priv:
这个secure_file_priv是什么意思呢?secure_file_priv参数用于限