-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mysql 5.7: The MySQL server is running with the --secure-file-priv option so it cannot execute this statement: LOAD DATA INFILE #9528
Comments
This also happens when you try to install Piwik for the first time. It will give an error during the checks. The solution I used: secure-file-priv = "" More info: https://dev.mysql.com/doc/refman/5.7/en/server-system-variables.html#sysvar_secure_file_priv This is maybe less save, but getting all the data within the right path is even more hard to fix. |
@theyosh would you mind trying our latest 2.16.0 beta release? it should fix the issue 👍 |
Ok, I have reverted my MySQL config file, so the default value for secure-file-priv is enabled again. The installation check is now OK. No error / warning message about this MySQL setting. So looks good! used 2.16.0.b4 Have not tested the logfile import yet. Also archiving is not yet tested. |
Problem is still there... I have the following error after installation. LOAD DATA INFILE so problem is still there. Not during installation, but when I look at the System check option in the interface |
Use LOAD DATA local INFILE ... |
I think it's a MySQL issues, not piwik. |
i get this error on windows, how can i do? |
I just had the same issue and setting It would be better to set the value as narrow as possible. The following did work for me:
|
very thinks , it's ok!
At 2018-08-23 01:53:10, "Marco Beierer" <notifications@github.com> wrote:
I just had the same issue and setting secure-file-priv = "" works fine, but it's not the best solution from a security point of view. A short quote from the documentation: If empty, the variable has no effect. This is not a secure setting.
It would be better to set the value as narrow as possible. The following did work for me:
[mysqld]
secure-file-priv = "/path/to/matomo/tmp/assets/"
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
|
you can store CSV file another location and MySQL store CSV file this location /var/lib/mysql-files/.
More info: https://devnote.in/error-1290-hy000-the-mysql-server-is-running-with-the-secure-file-priv/ |
Mysql 5.7 can return an error during archiving process:
The MySQL server is running with the --secure-file-priv option so it cannot execute this statement: LOAD DATA INFILE
See more info as provided by @oraclerob in #9419 (comment)
The text was updated successfully, but these errors were encountered: