12

If there is not any difference, why having two server parameters to achieve one behavior?

Tomas Kubes
  • 23,880
  • 18
  • 111
  • 148
Uday
  • 1,480
  • 4
  • 27
  • 44

2 Answers2

20

log_slow_queries was deprecated in MySQL 5.1.29 by slow-query-log. The MySQL 5.1 Reference Manual has more details.

BenMorel
  • 34,448
  • 50
  • 182
  • 322
Sean
  • 747
  • 4
  • 8
8

From mysql documentation:

The --log-slow-queries option is deprecated and is removed (along with the log_slow_queries system variable) in MySQL 5.6. Instead, use the --slow_query_log option to enable the slow query log and the --slow_query_log_file=file_name option to set the slow query log file name.

See here: http://dev.mysql.com/doc/refman/5.5/en/server-options.html#option_mysqld_log-slow-queries

Rahul
  • 76,197
  • 13
  • 71
  • 125