there are two in one Taichung MYSQL , the basic one 5.5 ( rpm package) configuration file /etc/my.cnf , not one of the outside 5.6 configuration file /home/app/mysql5.6/my.cnf
5.6 Error Reporting
2016-01-27 00:09:03 16056 [Note] Innodb:percona XtraDB (http://www.percona.com) 5.6.27-rel75.0 started; Log sequence Number 1763792
2016-01-27 00:09:03 16056 [ERROR]/home/app/mysql5.6/bin/mysqld:unknown variable ' log-slow-queries=/home/mysql/ Localhost-slow.log '
2016-01-27 00:09:03 16056 [ERROR] Aborting
2016-01-27 00:09:03 16056 [Note] Binlog End
The ultimate reason is because MYSQL is a merge configuration file , so I found it. 5.5 the files in, because 5.6 in log-slow-queries It's not the parameter anymore, so the error.
solve the /etc/my.cnf of the log-slow-queries =/home/mysql/localhost-slow.log Comment out #log-slow-queries =/home/mysql/localhost-slow.log
5.6 The version is ready to start.
This article is from the "Fly Hung 膤" blog, please be sure to keep this source http://jxzhfei.blog.51cto.com/1382161/1738664
One installation 5.5 and 5.6 reported unknown variable ' log-slow-queries=/home/mysql/localhost-slow.log ' wrong solution