ERROR 1290 (HY000): The MySQL server is running with the --secure-file-priv option so it cannot exec
2017-08-15 16:54
881 查看
SHOW GLOBAL VARIABLES LIKE '%secure%';
查看secure_file_priv 如果是“”则所有目录都可以使用,详细说明:
官网解释:
This option sets the
查看secure_file_priv 如果是“”则所有目录都可以使用,详细说明:
官网解释:
Command-Line Format | --secure-file-priv=dir_name | |
System Variable | Name | secure_file_priv |
Variable Scope | Global | |
Dynamic Variable | No | |
Permitted Values (<= 5.7.5) | Type | string |
Default | empty | |
Valid Values | empty | |
dirname | ||
Permitted Values (>= 5.7.6) | Type | string |
Default | platform specific | |
Valid Values | empty | |
dirname | ||
NULL |
secure_file_privsystem variable, which is used to limit the effect of data import and export operations, such as those performed by the
LOAD DATAand
SELECT ... INTO OUTFILEstatements and the
LOAD_FILE()function. For more information, see the description of
secure_file_priv.
相关文章推荐
- 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 cannot exec
- 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 cannot exec
- 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 cannot execute this statement
- ERROR 1290 (HY000): The MySQL server is running with the --secure-file-priv option so it ...statemet
- 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
- [Error Code: 1290. The MySQL server is running with the --secure-file-priv option so it cannot execute this statement]错误解决
- ERROR 1290 (HY000): The MySQL server is running with the --skip-grant-tables option so it cannot exe
- ERROR 1290 (HY000): The MySQL server is running with the --skip-grant-tables option so it cannot exe
- ERROR 1290 (HY000): The MySQL server is running with the --skip-grant-tables option so it cannot execute this statemen
- ERROR 1290 (HY000): The MySQL server is running with the --skip-grant-tables option so it cannot exe
- ERROR 1290 (HY000): The MySQL server is running with the --skip-grant-tables option so it cannot execute this statemen
- MySQL用into outfile导出出错The MySQL server is running with the --secure-file-priv option so it cannot ex
- mysql>导出数据为txt时报错:The MySQL server is running with the --secure-file-priv option so it cannot execut
- ERROR 1290 (HY000): The MySQL server is running with the --skip-grant-tables option so it cannot exe
- The MySQL server is running with the --secure-file-priv option so it cannot execute this statement解决
- ERROR 1290 (HY000): The MySQL server is running with the --skip-grant-tables option so it cannot execute this statemen