mysql error:1290- The MySQL server is running with

 

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

这个错误是因为 secure-file-priv 这个选项在安装版里是有值的,而那个值不允许这种操作。

 

 

解决方案:

在类似的这个位置C:\ProgramData\MySQL\MySQL Server 5.7\my.ini, 找到INI文件。复制一份作为备份。
编辑此文件。将里面的类似的一行 secure-file-priv="C:/ProgramData/MySQL/MySQL Server 5.7/Uploads"  注释掉。
重新启动mysql服务。

 

然后就ok了。

mysql error:1290- The MySQL server is running with

 

相关文章:

  • 2021-09-18
  • 2022-12-23
  • 2021-10-16
  • 2021-11-06
  • 2021-09-22
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-09-26
  • 2022-12-23
  • 2021-08-10
  • 2021-09-03
  • 2021-10-25
相关资源
相似解决方案