-
之前导入txt失败,报错:
ERROR 1290 (HY000): The MySQL server is running with the --secure-file-priv option so it cannot execute this statement
-
查网上教程,要修改my.ini文件,但是我的安装目录下没有,所以自己建了一个my.ini。
-
在my.ini文件中添加secure_file_priv="",但之后报错:
unknown variable 'secure_file_priv=""'
- 解决:要添加[mysqld]
[mysqld]
secure_file_priv=""