| Summary: | mariadb 5.5.28 error if using "load_file" or "load file into" | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | bozonius <bozonius> |
| Component: | New RPM package request | Assignee: | Mageia Bug Squad <bugsquad> |
| Status: | RESOLVED INVALID | QA Contact: | |
| Severity: | major | ||
| Priority: | Normal | CC: | bozonius |
| Version: | 3 | ||
| Target Milestone: | --- | ||
| Hardware: | i586 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Source RPM: | CVE: | ||
| Status comment: | |||
|
Description
bozonius
2013-07-10 05:53:36 CEST
bozonius
2013-07-10 05:54:17 CEST
CC:
(none) =>
bozonius Also see bug 9878 as these may be related to the same (buggy?) release. Never mind. Turns out that the MySQL "user" trying to use these operations must have file privileges. Those are not listed or available at the database privileges level, only at the user privileges level. I missed those, which led me to think this was the same problem other users were seeing. Another thing to be aware of is that the directory where the files are to be written to must be writable by the Unix user "mysql". These issues and advisos are "documented" but it takes a lot of hunt-and-peck to find out. Another problem is that the error messages from mysql are not too specific. The secure-file-priv variable was introduced since MySQL 5.0, and the documentation on it seems less than thorough to me. I guess close this, unless we want to make a request for better documentation. See previous comment. Status:
NEW =>
RESOLVED |