{"id":53,"date":"2011-10-24T02:45:35","date_gmt":"2011-10-24T02:45:35","guid":{"rendered":"http:\/\/rat32.com\/rat32\/?p=53"},"modified":"2013-10-11T03:44:16","modified_gmt":"2013-10-11T03:44:16","slug":"how-to-solve-error-mysql-said-documentation-2002-the-server-is-not-responding-or-the-local-mysql-servers-socket-is-not-correctly-configured-connection-for-controluser-as-defined-in-your-conf","status":"publish","type":"post","link":"https:\/\/rat32.com\/rat32\/2011\/10\/24\/how-to-solve-error-mysql-said-documentation-2002-the-server-is-not-responding-or-the-local-mysql-servers-socket-is-not-correctly-configured-connection-for-controluser-as-defined-in-your-conf\/","title":{"rendered":"How to solve &#8220;Error MySQL said: Documentation #2002 &#8211; The server is not responding (or the local MySQL server&#8217;s socket is not correctly configured) Connection for controluser as defined in your configuration failed.&#8221; problem?"},"content":{"rendered":"<p>When we try to access PHPMyAdmin from xampp on linux we might get the following errors<br \/>\n&#8220;<strong>Error<br \/>\nMySQL said: Documentation<br \/>\n#2002 &#8211; The server is not responding (or the local MySQL server&#8217;s socket is not correctly configured)<br \/>\nConnection for controluser as defined in your configuration failed.<\/strong>&#8221;<\/p>\n<p>OR<br \/>\n&#8220;<strong>Wrong permissions on configuration file, should not be world writable!<\/strong>&#8221;<\/p>\n<p>This is caused due to control is set to 777 for the configuration files<br \/>\n1. \/opt\/lampp\/etc\/my.cnf<br \/>\n2. \/opt\/lampp\/phpmyadmin\/config.inc.php<\/p>\n<p>So we need to change its permission by running following script in terminal<br \/>\n1. <strong>sudo chmod 705 \/opt\/lampp\/phpmyadmin\/config.inc.php<\/strong><br \/>\n2.<strong> sudo chmod 705 \/opt\/lampp\/etc\/my.cnf<\/strong><\/p>\n<p>I have config.inc.php file in \/opt\/lampp\/phpmyadmin, please set path according to your installation location. Same for my.cnf file.<\/p>\n<p>It works fine!!.<\/p>\n<p>If still you are having any problems. Please let me know.<\/p>\n<!-- AddThis Advanced Settings generic via filter on the_content --><!-- AddThis Share Buttons generic via filter on the_content -->","protected":false},"excerpt":{"rendered":"<p>When we try to access PHPMyAdmin from xampp on linux we might get the following errors &#8220;Error MySQL said: Documentation #2002 &#8211; The server is not responding (or the local MySQL server&#8217;s socket is&#46;&#46;&#46;<!-- AddThis Advanced Settings generic via filter on get_the_excerpt --><!-- AddThis Share Buttons generic via filter on get_the_excerpt --><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[],"class_list":["post-53","post","type-post","status-publish","format-standard","hentry","category-how-to"],"post_mailing_queue_ids":[],"_links":{"self":[{"href":"https:\/\/rat32.com\/rat32\/wp-json\/wp\/v2\/posts\/53"}],"collection":[{"href":"https:\/\/rat32.com\/rat32\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/rat32.com\/rat32\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/rat32.com\/rat32\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/rat32.com\/rat32\/wp-json\/wp\/v2\/comments?post=53"}],"version-history":[{"count":1,"href":"https:\/\/rat32.com\/rat32\/wp-json\/wp\/v2\/posts\/53\/revisions"}],"predecessor-version":[{"id":54,"href":"https:\/\/rat32.com\/rat32\/wp-json\/wp\/v2\/posts\/53\/revisions\/54"}],"wp:attachment":[{"href":"https:\/\/rat32.com\/rat32\/wp-json\/wp\/v2\/media?parent=53"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rat32.com\/rat32\/wp-json\/wp\/v2\/categories?post=53"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rat32.com\/rat32\/wp-json\/wp\/v2\/tags?post=53"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}