{"id":400,"date":"2018-09-25T19:08:36","date_gmt":"2018-09-25T19:08:36","guid":{"rendered":"https:\/\/www.rochen.com\/docs\/?post_type=ht_kb&#038;p=400"},"modified":"2021-04-28T20:50:04","modified_gmt":"2021-04-28T20:50:04","slug":"accessing-your-mysql-database-remotely","status":"publish","type":"ht_kb","link":"https:\/\/www.rochen.com\/docs\/documentation\/accessing-your-mysql-database-remotely\/","title":{"rendered":"Accessing your MySQL Database Remotely"},"content":{"rendered":"<p>At times you may want to connect to a MySQL database that is running on our server from an external server while developing your website. This article explains how to do so.<\/p>\n<p>For security reasons external access to MySQL is disabled, however you can override this feature by adding your external IP address to the relevant section of cPanel. You will need to ensure that the IP address you add is the same IP address that will be creating the connection to our server.<\/p>\n<p>You will need to add the IP address in\u00a0cPanel &gt; Remote MySQL<\/p>\n<p>If you&#8217;re not sure of your public (WAN) IP that you need to add to the list you can find it in the first line here:\u00a0https:\/\/my.rochen.com\/ip.php<\/p>\n<p>You may also need to re-grant &#8220;All Privileges&#8221; to your database user\u00a0after\u00a0you have added the remote IP address in this section.<\/p>\n<p>Please do not hesitate to open a technical support ticket if you have any questions or concerns about remote database access.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>At times you may want to connect to a MySQL database that is running on our server from an external server while developing your website. This article explains how to do so. For security reasons external access to MySQL is disabled, however you can override this feature by adding your&#8230;<\/p>\n","protected":false},"author":2,"comment_status":"closed","ping_status":"closed","template":"","format":"standard","meta":{"footnotes":""},"ht-kb-category":[230],"ht-kb-tag":[236,140,235],"class_list":["post-400","ht_kb","type-ht_kb","status-publish","format-standard","hentry","ht_kb_category-general-use-and-troubleshooting","ht_kb_tag-database","ht_kb_tag-mysql","ht_kb_tag-remote-access"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Accessing your MySQL Database Remotely - Rochen Documentation<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.rochen.com\/docs\/documentation\/accessing-your-mysql-database-remotely\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Accessing your MySQL Database Remotely - Rochen Documentation\" \/>\n<meta property=\"og:description\" content=\"At times you may want to connect to a MySQL database that is running on our server from an external server while developing your website. This article explains how to do so. For security reasons external access to MySQL is disabled, however you can override this feature by adding your...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.rochen.com\/docs\/documentation\/accessing-your-mysql-database-remotely\/\" \/>\n<meta property=\"og:site_name\" content=\"Rochen Documentation\" \/>\n<meta property=\"article:modified_time\" content=\"2021-04-28T20:50:04+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.rochen.com\\\/docs\\\/documentation\\\/accessing-your-mysql-database-remotely\\\/\",\"url\":\"https:\\\/\\\/www.rochen.com\\\/docs\\\/documentation\\\/accessing-your-mysql-database-remotely\\\/\",\"name\":\"Accessing your MySQL Database Remotely - Rochen Documentation\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rochen.com\\\/docs\\\/#website\"},\"datePublished\":\"2018-09-25T19:08:36+00:00\",\"dateModified\":\"2021-04-28T20:50:04+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.rochen.com\\\/docs\\\/documentation\\\/accessing-your-mysql-database-remotely\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.rochen.com\\\/docs\\\/documentation\\\/accessing-your-mysql-database-remotely\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.rochen.com\\\/docs\\\/documentation\\\/accessing-your-mysql-database-remotely\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.rochen.com\\\/docs\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Accessing your MySQL Database Remotely\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.rochen.com\\\/docs\\\/#website\",\"url\":\"https:\\\/\\\/www.rochen.com\\\/docs\\\/\",\"name\":\"Rochen Documentation\",\"description\":\"Official documentation for Rochen&#039;s web hosting services as well as helpful articles for CMS like WordPress, Joomla and Drupal.\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.rochen.com\\\/docs\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Accessing your MySQL Database Remotely - Rochen Documentation","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.rochen.com\/docs\/documentation\/accessing-your-mysql-database-remotely\/","og_locale":"en_US","og_type":"article","og_title":"Accessing your MySQL Database Remotely - Rochen Documentation","og_description":"At times you may want to connect to a MySQL database that is running on our server from an external server while developing your website. This article explains how to do so. For security reasons external access to MySQL is disabled, however you can override this feature by adding your...","og_url":"https:\/\/www.rochen.com\/docs\/documentation\/accessing-your-mysql-database-remotely\/","og_site_name":"Rochen Documentation","article_modified_time":"2021-04-28T20:50:04+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.rochen.com\/docs\/documentation\/accessing-your-mysql-database-remotely\/","url":"https:\/\/www.rochen.com\/docs\/documentation\/accessing-your-mysql-database-remotely\/","name":"Accessing your MySQL Database Remotely - Rochen Documentation","isPartOf":{"@id":"https:\/\/www.rochen.com\/docs\/#website"},"datePublished":"2018-09-25T19:08:36+00:00","dateModified":"2021-04-28T20:50:04+00:00","breadcrumb":{"@id":"https:\/\/www.rochen.com\/docs\/documentation\/accessing-your-mysql-database-remotely\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.rochen.com\/docs\/documentation\/accessing-your-mysql-database-remotely\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.rochen.com\/docs\/documentation\/accessing-your-mysql-database-remotely\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.rochen.com\/docs\/"},{"@type":"ListItem","position":2,"name":"Accessing your MySQL Database Remotely"}]},{"@type":"WebSite","@id":"https:\/\/www.rochen.com\/docs\/#website","url":"https:\/\/www.rochen.com\/docs\/","name":"Rochen Documentation","description":"Official documentation for Rochen&#039;s web hosting services as well as helpful articles for CMS like WordPress, Joomla and Drupal.","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.rochen.com\/docs\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/www.rochen.com\/docs\/wp-json\/wp\/v2\/ht-kb\/400","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.rochen.com\/docs\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/www.rochen.com\/docs\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/www.rochen.com\/docs\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rochen.com\/docs\/wp-json\/wp\/v2\/comments?post=400"}],"version-history":[{"count":1,"href":"https:\/\/www.rochen.com\/docs\/wp-json\/wp\/v2\/ht-kb\/400\/revisions"}],"predecessor-version":[{"id":1697,"href":"https:\/\/www.rochen.com\/docs\/wp-json\/wp\/v2\/ht-kb\/400\/revisions\/1697"}],"wp:attachment":[{"href":"https:\/\/www.rochen.com\/docs\/wp-json\/wp\/v2\/media?parent=400"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/www.rochen.com\/docs\/wp-json\/wp\/v2\/ht-kb-category?post=400"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/www.rochen.com\/docs\/wp-json\/wp\/v2\/ht-kb-tag?post=400"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}