MySQL Forums
Forum List  »  Newbie

Re: secure_file_priv set to NULL
Posted by: Peter Brawley
Date: October 15, 2021 04:44PM

The suggestion was to put it in /etc. Probably mysql can't read /private. Why put it there? Why not follow the suggestion to put it in /etc?

As the docs say, the entry should be ...

[mysqld]
secure_file_priv='your path'

You can test whether it works by running ...

/usr/mysql/bin/mysqld --defaults-file="/etc/my.cnf"

... in a terminal window, adjusting the path arg for mysqld to wherever mysql is installed on your mac.

Options: ReplyQuote


Subject
Written By
Posted
October 12, 2021 11:16PM
Re: secure_file_priv set to NULL
October 15, 2021 04:44PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.