MYSQL导入CSV格式文件数据执行提示错误(ERROR 1290)
MYSQL导入CSV格式文件数据执行提示错误(ERROR 1290):
The MySQL server is running with the --secure-file-priv option so it cannot execute this statement.
【1】分析原因
其实原因很简单,因为在安装MySQL的时候限制了导入与导出的目录权限。只允许在规定的目录下才能导入。
可以通过以下命令查看secure-file-priv当前的值是什么
SHOW VARIABLES LIKE “secure
转载
2021-01-27 17:35:22 ·
864 阅读 ·
0 评论