Happened to me on a fresh DO droplet.

Ubuntu 16.04.2 LTS
mysql  Ver 14.14 Distrib 5.7.17 (x86_64)

After two or three days of normal functioning. We had to start
optimizing MyISAM. So the first thing we changed

log_slow_queries = /var/log/mysql/mysql-slow.log
long_query_time = 3
log-queries-not-using-indexes

service mysql restart started failing from there.

Side note. We changed key_buffer_size to
key_buffer_size         = 768M

And restarted without problems the first day.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1610765

Title:
  Apparmor refuses mysqld open on /etc/mysql/my.cnf.migrated causing it
  to fail to start

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mysql-5.7/+bug/1610765/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to