The MySQL server is running with the --secure-file-priv option so it cannot execute this statement解决
2016-12-15 16:05
926 查看
load data infile的时候报这个错,解决方法为:
修改mysql安装路径下的my.ini,在末尾添加“secure-file-priv=路径名”这一行,重启mysql
将要通过load data infile的文件放在上面所定义的路径下进行操作即可
修改mysql安装路径下的my.ini,在末尾添加“secure-file-priv=路径名”这一行,重启mysql
将要通过load data infile的文件放在上面所定义的路径下进行操作即可
相关文章推荐
- [Error Code: 1290. The MySQL server is running with the --secure-file-priv option so it cannot execute this statement]错误解决
- The MySQL server is running with the --secure-file-priv option so it cannot execute this statement解决
- Windows sql语句正则匹配导出数据到本地 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 cannot execute this statement
- MYSQL导出数据出现The MySQL server is running with the --secure-file-priv option so it cannot execute this
- 数据库权限The MySQL server is running with the --secure-file-priv option so it cannot execute this
- mysql错误:The MySQL server is running with the --skip-grant-tables option so it cannot execute this statement解决方法
- 解决 The MySQL server is running with the --skip-grant-tables option so it cannot execute this statement
- ERROR 1290 (HY000): The MySQL server is running with the --secure-file-priv option so it cannot exec
- The MySQL server is running with the --skip-grant-tables option so it cannot execute this statement
- 【mysql】报错解决方案The MySQL server is running with the --skip-grant-tables option so it cannot execute this statement
- ERROR 1290 (HY000): The MySQL server is running with the --secure-file-priv option so it cannot exec
- The MySQL server is running with the --skip-grant-tables option so it cannot execute this statement
- 关于The MySQL server is running with the--skip-grant-tables option so it cannot execute thisstatement
- MySQL用into outfile导出出错The MySQL server is running with the --secure-file-priv option so it cannot ex
- 1209 - The MySQL server is running with the --read-only option so it cannot execute this statement
- 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
- The MySQL server is running with the --read-only option so it cannot execute this statement