{"id":2108,"date":"2022-08-30T15:22:07","date_gmt":"2022-08-30T15:22:07","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/01\/02\/how-to-setup-replication-between-my-two-ispconfig3-servers-collection-of-common-programming-errors\/"},"modified":"2022-08-30T15:22:07","modified_gmt":"2022-08-30T15:22:07","slug":"how-to-setup-replication-between-my-two-ispconfig3-servers-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2022\/08\/30\/how-to-setup-replication-between-my-two-ispconfig3-servers-collection-of-common-programming-errors\/","title":{"rendered":"How to setup replication between my two ISPConfig3 servers-Collection of common programming errors"},"content":{"rendered":"<p>So, I found the problem. My master database was not configurated for external connection.<\/p>\n<p>I have reconfigured my installation and it was working but when I tested by creating a table, my server became extremely slow!<\/p>\n<p>To resolve that, I didn&#8217;t had another choice except to reboot. After that, the server working properly again but when I re-tested them it crashed again!<\/p>\n<p>I concluded I have a problem in my replication database with my master DB and my slave DB, may be on the connection?<\/p>\n<p>Actualy, when I go to my phpmyadmin interface I receive a 502 Bad Gateway! The log are:<\/p>\n<pre><code>\/usr\/bin\/mysqladmin: connect to server at 'localhost' failed\nerror: 'Can't connect to local MySQL server through socket '\/var\/run\/mysqld\/mysqld.sock' (111)'\nCheck that mysqld is running and that the socket: '\/var\/run\/mysqld\/mysqld.sock' exists!\n<\/code><\/pre>\n<p>I am stuck here, how I can fix that? Any ideas?<\/p>\n<p id=\"rop\"><small>Originally posted 2014-01-02 12:05:45. <\/small><\/p>","protected":false},"excerpt":{"rendered":"<p>So, I found the problem. My master database was not configurated for external connection. I have reconfigured my installation and it was working but when I tested by creating a table, my server became extremely slow! To resolve that, I didn&#8217;t had another choice except to reboot. After that, the server working properly again but [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-2108","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/2108","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=2108"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/2108\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=2108"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=2108"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=2108"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}