csv导入mysql提示错误[Error Code] 1290 - The MySQL server is running with the --secure-file-priv option
2017-06-23 14:38
801 查看
解决方法:
1.进入mysql查看secure_file_prive的值
mysql>SHOW VARIABLES LIKE "secure_file_priv";
secure_file_prive=null -- 限制mysqld 不允许导入导出
secure_file_priv=/tmp/ -- 限制mysqld的导入导出只能发生在/tmp/目录下
secure_file_priv=' ' -- 不对mysqld 的导入 导出做限制
2.修改secure_file_prive的值
windows下在my.ini文件 [mysqld]节点 下添加 secure_file_priv='',然后重启mysql服务。
linux下 在 /etc/my.cnf中添加。
1.进入mysql查看secure_file_prive的值
mysql>SHOW VARIABLES LIKE "secure_file_priv";
secure_file_prive=null -- 限制mysqld 不允许导入导出
secure_file_priv=/tmp/ -- 限制mysqld的导入导出只能发生在/tmp/目录下
secure_file_priv=' ' -- 不对mysqld 的导入 导出做限制
2.修改secure_file_prive的值
windows下在my.ini文件 [mysqld]节点 下添加 secure_file_priv='',然后重启mysql服务。
linux下 在 /etc/my.cnf中添加。
相关文章推荐
- Mac上csv导入mysql提示错误[Error Code] 1290 - The MySQL server is running with the --secure-file-priv option解决办法
- Mac上csv导入mysql提示错误[Error Code] 1290 - The MySQL server is running with the --secure-file-priv option
- csv导入mysql提示错误[Error Code] 1290 - The MySQL server is running with the --secure-file-priv option 解决方法【转】
- csv导入mysql提示错误[Error Code] 1290 - The MySQL server is running with the --secure-file-priv option 解决方
- mysql导出表到CSV文件方法及提示错误[Err] 1290 - The MySQL server is running with the --secure-file-priv option解决办法
- [Error Code: 1290. The MySQL server is running with the --secure-file-priv option so it cannot execute this statement]错误解决
- Windows下MySQL导入csv文件ERROR 1290 (HY000): The MySQL server is running with the --secure-file-priv opti
- Error Code: 1290. The MySQL server is running with the --secure-file-priv option
- Error Code: 1290. The MySQL server is running with the --secure-file-priv op
- MySQL 报错Error Code: 1290. The MySQL server is running with the --secure-file-priv option
- mysql导入数据 提示 The MySQL server is running with the --secure-file-priv
- MYSQL 5.7报错 Error Code: 1290. The MySQL server is running with the --secure-file-priv option so it..
- 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
- MYSQL导入数据出现The MySQL server is running with the --secure-file-priv
- ERROR 1290 (HY000): The MySQL server is running with the --secure-file-priv option so it cannot exec
- Windows10 MySQL5.7.21.0 ERROR 1290 (HY000): The MySQL server is running with the --secure-file-p解决办法
- MySQL报错ErrorCode:1290.TheMySQLserverisrunningwiththe--secure-file-privoption
- mysqldump: Got error: 1290: The MySQL server is running with the --secure-file-priv option so it can
- mysql 导出数据到文件 ERROR 1290 (HY000): The MySQL server is running with the --secure-file-priv option so