[MDEV-12521] SET slow_query_log_file Permission denied Created: 2017-04-18 Updated: 2017-05-18 Resolved: 2017-05-18 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | OTHER |
| Affects Version/s: | 10.1.22 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Major |
| Reporter: | dic (Inactive) | Assignee: | Unassigned |
| Resolution: | Incomplete | Votes: | 0 |
| Labels: | need_feedback | ||
| Environment: |
CentOS Linux release 7.3.1611 (Core) |
||
| Description |
|
MariaDB [(none)]> set global slow_query_log_file = '/var/log/mysql/slow.log'; |
| Comments |
| Comment by Daniel Black [ 2017-04-18 ] |
|
Is /var/log/mysql owned my the mysql user with a selinux type of mysqld_log_t? To fix the selinux type read https://mariadb.com/kb/en/mariadb/what-to-do-if-mariadb-doesnt-start/#selinux-and-mariadb-path-changes |