{"id":9320852,"date":"2017-07-14T23:39:06","date_gmt":"2017-07-14T23:39:06","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/localhost-databse\/"},"modified":"2017-07-14T23:39:06","modified_gmt":"2017-07-14T23:39:06","slug":"localhost-databse","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/localhost-databse\/","title":{"rendered":"localhost databse"},"content":{"rendered":"<p>Hi &#8211;  I have wordpress ms installed using mamp (localhost). <\/p>\n<p>How do I configure add_db_server for this environment?<\/p>\n<p>Right now I have tried this but still no luck. <\/p>\n<p>add_db_server(  &#8216;database_name&#8217;, 0, &#8221;, 1, 1, &#8216;localhost&#8217;, &#8216;localhost&#8217;,  &#8216;database_name&#8217;,  DB_USER, DB_PASSWORD);<\/p>\n<p>add_db_server(  &#8216;database_name&#8217;, 0, &#8221;, 1, 1, &#8216;127.0.0.1&#8217;, &#8216;127.0.0.1&#8217;,  &#8216;database_name&#8217;,  DB_USER, DB_PASSWORD);<\/p>\n<p>add_db_server(  &#8216;database_name&#8217;, 0, &#8221;, 1, 1, &#8216;192.168.0.2&#8217;, &#8216;192.168.0.2&#8217;,  &#8216;database_name&#8217;,  DB_USER, DB_PASSWORD);<\/p>\n<p>What am I doing wrong?<\/p>\n","protected":false},"template":"","class_list":["post-9320852","topic","type-topic","status-publish","hentry","topic-tag-multisite"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/9320852","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/9320852\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=9320852"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}