安装mysql后在安装目录下只有my-default.ini没有my.ini文件 解决-The MySQL server is running with the --secure-file-priv

WIN10 系统环境
安装mysql后在安装目录下只有my-default.ini没有my.ini文件 。

mysql报错

----------

The MySQL server is running with the --secure-file-priv option so it cannot execute this statement 

--------

但是更改或想要查找配置文件就需要如下操作

在 安装目录的顶层目录(以我为例,我的就在c盘的根目录) 中找到 program data 文件夹(注意该文件夹默认为隐藏文件夹)

图2

嘿嘿就在这里啦!

猜你喜欢

转载自blog.csdn.net/qq_41856814/article/details/89534364