{"id":264,"date":"2009-10-31T14:46:15","date_gmt":"2009-10-31T18:46:15","guid":{"rendered":"http:\/\/linuxhostingsupport.net\/blog\/?p=264"},"modified":"2013-03-20T08:41:10","modified_gmt":"2013-03-20T12:41:10","slug":"how-to-enable-log-queries-not-using-indexes","status":"publish","type":"post","link":"https:\/\/linuxhostingsupport.net\/blog\/how-to-enable-log-queries-not-using-indexes","title":{"rendered":"how to enable log-queries-not-using-indexes"},"content":{"rendered":"<p><strong>How to enable &#8220;log-queries-not-using-indexes&#8221; in Mysql?<\/strong><\/p>\n<p><strong>Edit \/etc\/my.cnf<\/strong> and place the following line under the [mysqld] section:<\/p>\n<blockquote><p><span style=\"color: #0000ff;\"><strong>log-queries-not-using-indexes<\/strong><\/span><\/p><\/blockquote>\n<p><strong>Save the file and restart the mysql service:<\/strong><\/p>\n<blockquote><p><span style=\"color: #0000ff;\"><strong># \/etc\/init.d\/mysql restart<\/strong><\/span><\/p><\/blockquote>\n<p><strong>To verify if it is set to ON, use the following command:<\/strong><\/p>\n<blockquote><p><span style=\"color: #0000ff;\"><strong># mysqladmin variables |grep\u00a0 log_queries_not_using_indexes<\/strong><\/span><\/p><\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>How to enable &#8220;log-queries-not-using-indexes&#8221; in Mysql?<br \/>\nEdit \/etc\/my.cnf and place the following line under the [mysqld] section:<br \/>\nlog-queries-not-using-indexes<br \/>\nSave the file and restart the mysql service:<br \/>\n# \/etc\/init.d\/mysql restart<br \/>\nTo verify if it is set to ON, use the following command:<br \/>\n# mysqladmin variables |grep\u00a0 log_queries_not_using_indexes<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[111],"tags":[327,328,324,326,330,325,329],"_links":{"self":[{"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/posts\/264"}],"collection":[{"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/comments?post=264"}],"version-history":[{"count":3,"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/posts\/264\/revisions"}],"predecessor-version":[{"id":266,"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/posts\/264\/revisions\/266"}],"wp:attachment":[{"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/media?parent=264"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/categories?post=264"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/tags?post=264"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}