{"id":34,"date":"2017-11-25T00:02:00","date_gmt":"2017-11-25T00:02:00","guid":{"rendered":"https:\/\/fortunehost.com\/knowledgebase\/?p=34"},"modified":"2018-01-24T11:32:31","modified_gmt":"2018-01-24T11:32:31","slug":"remote-mysql-database-connection","status":"publish","type":"post","link":"https:\/\/fortunehost.com\/knowledgebase\/remote-mysql-database-connection\/","title":{"rendered":"Remote MySQL Database Connection"},"content":{"rendered":"<p>Remote MySQL database connection establishes connection between your local computer to MySQL database.\u00a0 To achieve this we need third party programs.<\/p>\n<p>The connection needs to be allowed in cPanel by adding the IP of local computer.<\/p>\n<p>We highly recommend\u00a0only adding static IPs to minimize potential threats.<\/p>\n<p>In order to connect remotely to your database few programs (third party) provide access when downloaded and installed on desktop.<\/p>\n<ul>\n<li>MySQL Workbench<\/li>\n<li>DreamWeaver<\/li>\n<li>Heidi SQL<\/li>\n<li>Navicat for MySQL<\/li>\n<\/ul>\n<h2><span style=\"color: #333333;\">Setting An IP Address<\/span><\/h2>\n<p>Before establishing connection remotely your computer must be added to\u00a0<strong style=\"font-size: 1rem;\">Access Host\u00a0<\/strong><span style=\"font-size: 1rem;\">in cPanel.<\/span><\/p>\n<p>a. Log into\u00a0\u00a0cPanel and under Databases, click the\u00a0<strong>Remote MySQL icon<\/strong>.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-42\" src=\"https:\/\/fortunehost.com\/knowledgebase\/wp-content\/uploads\/2017\/11\/ms1-1-300x119.png\" alt=\"\" width=\"400\" height=\"159\" srcset=\"https:\/\/fortunehost.com\/knowledgebase\/wp-content\/uploads\/2017\/11\/ms1-1-300x119.png 300w, https:\/\/fortunehost.com\/knowledgebase\/wp-content\/uploads\/2017\/11\/ms1-1-150x59.png 150w, https:\/\/fortunehost.com\/knowledgebase\/wp-content\/uploads\/2017\/11\/ms1-1.png 593w\" sizes=\"(max-width: 400px) 100vw, 400px\" \/><\/p>\n<p>b. Now insert the remote IP address\u00a0in the\u00a0<strong>Add Access Host<\/strong>\u00a0section.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-46\" src=\"https:\/\/fortunehost.com\/knowledgebase\/wp-content\/uploads\/2017\/11\/ms1-3-300x101.png\" alt=\"\" width=\"400\" height=\"135\" srcset=\"https:\/\/fortunehost.com\/knowledgebase\/wp-content\/uploads\/2017\/11\/ms1-3-300x101.png 300w, https:\/\/fortunehost.com\/knowledgebase\/wp-content\/uploads\/2017\/11\/ms1-3.png 562w\" sizes=\"(max-width: 400px) 100vw, 400px\" \/><\/p>\n<p>c. Click the\u00a0<strong>Add Host\u00a0<\/strong>button to add the IP address.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-49\" src=\"https:\/\/fortunehost.com\/knowledgebase\/wp-content\/uploads\/2017\/11\/ms1-4-300x101.png\" alt=\"\" width=\"400\" height=\"135\" srcset=\"https:\/\/fortunehost.com\/knowledgebase\/wp-content\/uploads\/2017\/11\/ms1-4-300x101.png 300w, https:\/\/fortunehost.com\/knowledgebase\/wp-content\/uploads\/2017\/11\/ms1-4.png 562w\" sizes=\"(max-width: 400px) 100vw, 400px\" \/><\/p>\n<p>d. The completion will appear with below message.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-52\" src=\"https:\/\/fortunehost.com\/knowledgebase\/wp-content\/uploads\/2017\/11\/ms1-6-300x118.png\" alt=\"\" width=\"400\" height=\"157\" srcset=\"https:\/\/fortunehost.com\/knowledgebase\/wp-content\/uploads\/2017\/11\/ms1-6-300x118.png 300w, https:\/\/fortunehost.com\/knowledgebase\/wp-content\/uploads\/2017\/11\/ms1-6.png 759w\" sizes=\"(max-width: 400px) 100vw, 400px\" \/><\/p>\n<p>This feature allows numerous IPs be added for remote connection.<\/p>\n<p>You can now proceed to establish remote connection to MySQL databases.<\/p>\n<h2>Removing an IP Address<\/h2>\n<p>You may want to remove an IP address when no longer you use it or want to deny remote access.<\/p>\n<p>Simply click the &#8216;<strong>Delete&#8217;\u00a0<\/strong>button next to the IP in the area.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-76\" src=\"https:\/\/fortunehost.com\/knowledgebase\/wp-content\/uploads\/2017\/11\/ms1-9-300x58.png\" alt=\"\" width=\"400\" height=\"77\" srcset=\"https:\/\/fortunehost.com\/knowledgebase\/wp-content\/uploads\/2017\/11\/ms1-9-300x58.png 300w, https:\/\/fortunehost.com\/knowledgebase\/wp-content\/uploads\/2017\/11\/ms1-9-768x148.png 768w, https:\/\/fortunehost.com\/knowledgebase\/wp-content\/uploads\/2017\/11\/ms1-9-150x29.png 150w, https:\/\/fortunehost.com\/knowledgebase\/wp-content\/uploads\/2017\/11\/ms1-9.png 928w\" sizes=\"(max-width: 400px) 100vw, 400px\" \/><\/p>\n<p>That&#8217;s it!<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Remote MySQL database connection establishes connection between your local computer to MySQL database.\u00a0 To achieve this we need third party[&#8230;]<\/p>\n","protected":false},"author":1,"featured_media":52,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-34","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-cpanel"],"_links":{"self":[{"href":"https:\/\/fortunehost.com\/knowledgebase\/wp-json\/wp\/v2\/posts\/34"}],"collection":[{"href":"https:\/\/fortunehost.com\/knowledgebase\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fortunehost.com\/knowledgebase\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fortunehost.com\/knowledgebase\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fortunehost.com\/knowledgebase\/wp-json\/wp\/v2\/comments?post=34"}],"version-history":[{"count":19,"href":"https:\/\/fortunehost.com\/knowledgebase\/wp-json\/wp\/v2\/posts\/34\/revisions"}],"predecessor-version":[{"id":77,"href":"https:\/\/fortunehost.com\/knowledgebase\/wp-json\/wp\/v2\/posts\/34\/revisions\/77"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/fortunehost.com\/knowledgebase\/wp-json\/wp\/v2\/media\/52"}],"wp:attachment":[{"href":"https:\/\/fortunehost.com\/knowledgebase\/wp-json\/wp\/v2\/media?parent=34"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fortunehost.com\/knowledgebase\/wp-json\/wp\/v2\/categories?post=34"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fortunehost.com\/knowledgebase\/wp-json\/wp\/v2\/tags?post=34"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}