ubuntu 下Mysql导入导出文件报错:ERROR 1290 (HY000): --secure-file-priv
来源:互联网 发布:ummy mac 破解 编辑:程序博客网 时间:2024/05/22 12:45
1.报错原因:
secure_file_priv设置了指定目录,需要在指定的目录下进行数据导出
通过命令:mysql> show variables like '%secure%'; 查看变量的值
所以在导入导出的时候,文件应该在此目录下。
2.secure_file_priv参数说明
这个参数用来限制数据导入和导出操作的效果,例如执行LOAD DATA、SELECT ... INTO OUTFILE语句和LOAD_FILE()函数。这些操作需要用户具有FILE权限。
如果这个参数为空,这个变量没有效果;
如果这个参数设为一个目录名,MySQL服务只允许在这个目录中执行文件的导入和导出操作。这个目录必须存在,MySQL服务不会创建它;
如果这个参数为NULL,MySQL服务会禁止导入和导出操作。这个参数在MySQL 5.7.6版本引入。
0 0
- ubuntu 下Mysql导入导出文件报错:ERROR 1290 (HY000): --secure-file-priv
- Windows下MySQL导入csv文件ERROR 1290 (HY000): The MySQL server is running with the --secure-file-priv opti
- MySQL 报错 ERROR 1290 (HY000): running with the --secure-file-priv
- mysql 导出数据到文件 ERROR 1290 (HY000): The MySQL server is running with the --secure-file-priv option so
- ERROR 1290 (HY000): The MySQL server is running with the --secure-file-priv option
- ERROR 1290 (HY000): The MySQL server is running with the --secure-file-priv option so it cannot exec
- ERROR 1290 (HY000): The MySQL server is running with the --secure-file-priv option so it ...statemet
- ERROR 1290 (HY000): The MySQL server is running with the --secure-file-priv option so it cannot exec
- MySQL 报错Error Code: 1290. The MySQL server is running with the --secure-file-priv option
- MySQL中secure-file-priv 配置项对数据导入导出的影响
- MySQL导入及导出文件出错ERROR 1290 (HY000)解决方法
- 详述 MySQL 导出数据遇到 secure-file-priv 的问题
- 详述 MySQL 导出数据遇到 secure-file-priv 的问题
- Linux下MySQL导入文件出错ERROR 1290 (HY000)
- Linux下MySQL导入文件出错ERROR 1290 (HY000)
- mysql导出表到CSV文件方法及提示错误[Err] 1290 - The MySQL server is running with the --secure-file-priv option解决办法
- 关于MySQL的Error1290 --secure-file-priv
- mysql --secure-file-priv问题解决方案
- 返回顶部效果的代码实现
- KBuild MakeFile介绍
- C#双规获取指定层数的下标排列
- POJ 3126 Prime Path 已被翻译
- 单纯性算法的模板
- ubuntu 下Mysql导入导出文件报错:ERROR 1290 (HY000): --secure-file-priv
- python networkX库的学习(一) 12.21更新
- sql语句学习
- Errors occurred during the build. Errors running builder 'Integrated External Tool Builder' on proj
- PAT - 甲级 - 1107. Social Clusters (30) (并查集)
- acm鸡兔同笼
- JZOJ 4911 【NOIP2017模拟12.3】人生的叹息
- Ubuntu下OpenGrok的安装配置
- Hadoop的benchmark测试IO性能测试TestDFSIO测试时java.io.FileNotFoundException: TestDFSIO_results.log (Permission