Disable secure priv for data loading on MySQL

前端 未结 5 2045
刺人心
刺人心 2020-12-13 14:46

I\'m running MySQL 5.7 on a Windows 10 machine. I\'ve read through all the SO threads on this topic and still haven\'t figured out how to get my data to load and get past th

5条回答
  •  天命终不由人
    2020-12-13 15:13

    Note that under Windows setting the 'secure_file_priv' to a different path or disabling it altogether by setting it to:

    secure_file_priv=""
    

    may not work if the MySQL service is running on a low-privilege account (default 5.7 installation). You can change that by selecting the "Local System account" in the Services under Properties -> Log On.

提交回复
热议问题