MAMP - [Warning] Insecure configuration for --secure-file-priv: Current value does not restrict location of generated files. Consider setting it to a valid, non-empty path

MAMP PRO → File → Open Template → MySQL (my.cnf) → 5.7.32

# secure_file_priv=""