1、我们也可以通过命令查看secure-file-priv的当前值:
show variables like '%secure%';
如上图所示,我设置的secure-file-priv值为NULL,而 MySQL 默认的值为:
secure-file-priv=”E:/project/09cms/install/sql/load_files/”
2、我们可以通过打开my.ini配置文件进行查看及修改:
1、我们也可以通过命令查看secure-file-priv的当前值:
show variables like '%secure%';
如上图所示,我设置的secure-file-priv值为NULL,而 MySQL 默认的值为:
secure-file-priv=”E:/project/09cms/install/sql/load_files/”
2、我们可以通过打开my.ini配置文件进行查看及修改: