title: Mysql slow query log Errcode: 13 - Permission denied
body: <p>I want to enable slow query log.
  When I execute the following query</p>
  <p><code>set global slow_query_log = 'ON';</code></p>
  <p>I get :</p>
  <pre><code>#29 - File '/var/log/mysqld_slow.log' not found (Errcode: 13 - Permission denied)
  </code></pre>
  <p>I tried solution here :
  <a href="https://bugs.mysql.com/bug.php?id=98340" rel="nofollow noreferrer">https://bugs.mysql.com/bug.php?id=98340</a> but I have issue on last command :</p>
  <pre><code>touch /var/log/mysqld_slow.log
  chown mysql:mysql /var/log/mysqld_slow.log (also tried mysql:adm)
  chmod 640 /var/log/mysqld_slow.log (also tried 666)
  chcon -t mysqld_log_t /var/log/mysqld_slow.log
  chcon: can't apply partial context to unlabeled file '/var/log/mysqld_slow.log'
  </code></pre>