One installation 5.5 and 5.6 reported unknown variable ' log-slow-queries=/home/mysql/localhost-slow.log ' wrong solution

Source: Internet
Author: User
Tags percona

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.