Ok, I made it work. From /var/log/mysql/error.log:
2015-04-08 11:37:13 1441 [ERROR] /usr/sbin/mysqld: unknown variable 'log_slow_queries=/var/log/mysql/mysql-slow.log' 2015-04-08 11:37:13 1441 [ERROR] Aborting
2015-04-08 11:37:13 1441 [Note] Binlog end
After commenting out this line, it works:
$> cat /etc/mysql/my.cnf|grep log_slow #log_slow_queries = /var/log/mysql/mysql-slow.log
Ok, I made it work. From /var/log/ mysql/error. log:
2015-04-08 11:37:13 1441 [ERROR] /usr/sbin/mysqld: unknown variable 'log_slow_ queries= /var/log/ mysql/mysql- slow.log'
2015-04-08 11:37:13 1441 [ERROR] Aborting
2015-04-08 11:37:13 1441 [Note] Binlog end
After commenting out this line, it works:
$> cat /etc/mysql/ my.cnf| grep log_slow mysql/mysql- slow.log
#log_slow_queries = /var/log/