{"id":10175,"date":"2017-01-17T12:52:53","date_gmt":"2017-01-17T12:52:53","guid":{"rendered":"https:\/\/www.oderland.se\/support\/artikel\/hur-mojliggor-jag-for-fjarratkomst-till-mina-databaser\/"},"modified":"2026-02-13T16:27:20","modified_gmt":"2026-02-13T15:27:20","slug":"how-do-i-enable-remote-access-to-my-databases","status":"publish","type":"ht_kb","link":"https:\/\/www.oderland.se\/support\/en\/artikel\/how-do-i-enable-remote-access-to-my-databases\/","title":{"rendered":"How do I enable remote access to my databases?"},"content":{"rendered":"\n<p>By default, access to your databases is only enabled for localhost. Sometimes, however, it&#8217;s necessary to connect to a database on our servers from another remote server\/computer. This is managed via cPanel, where you may grant access from the IP address from which you wish to connect.<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>First, <a rel=\"noreferrer noopener\" aria-label=\"log on to cPanel (\u00f6ppnas i en ny flik)\" href=\"https:\/\/www.oderland.se\/support\/en\/artikel\/how-do-i-login-to-cpanel\/\" target=\"_blank\">log on to cPanel<\/a>.<\/li>\n\n\n\n<li>Then, click the icon <code>Remote Database Access<\/code>.<br><a href=\"https:\/\/www.oderland.se\/support\/wp-content\/uploads\/2017\/01\/cpanel_icon_remote_database_access.png\"><img loading=\"lazy\" decoding=\"async\" width=\"713\" height=\"193\" class=\"wp-image-24936\" style=\"width: 713px;\" src=\"https:\/\/www.oderland.se\/support\/wp-content\/uploads\/2017\/01\/cpanel_icon_remote_database_access.png\" alt=\"\" srcset=\"https:\/\/www.oderland.se\/support\/wp-content\/uploads\/2017\/01\/cpanel_icon_remote_database_access.png 713w, https:\/\/www.oderland.se\/support\/wp-content\/uploads\/2017\/01\/cpanel_icon_remote_database_access-300x81.png 300w, https:\/\/www.oderland.se\/support\/wp-content\/uploads\/2017\/01\/cpanel_icon_remote_database_access-50x14.png 50w, https:\/\/www.oderland.se\/support\/wp-content\/uploads\/2017\/01\/cpanel_icon_remote_database_access-60x16.png 60w, https:\/\/www.oderland.se\/support\/wp-content\/uploads\/2017\/01\/cpanel_icon_remote_database_access-100x27.png 100w\" sizes=\"auto, (max-width: 713px) 100vw, 713px\" \/><\/a><\/li>\n\n\n\n<li>Under <code>Add Access Host<\/code>, enter the IP address from where you wish to connect. You can check your IP address by visiting <a rel=\"noopener noreferrer\" href=\"http:\/\/www.ipnummer.org\" target=\"_blank\">ipnummer.org<\/a> from the server\/computer you wish to connect from. Enter the IP address under <code>Host<\/code>. You may add a comment if you&#8217;d like, but its optional.<br><a href=\"https:\/\/www.oderland.se\/support\/wp-content\/uploads\/2017\/01\/cpanel_databases_add_access_host.png\"><img loading=\"lazy\" decoding=\"async\" width=\"700\" height=\"375\" class=\"wp-image-10182\" style=\"width: 700px;\" src=\"https:\/\/www.oderland.se\/support\/wp-content\/uploads\/2017\/01\/cpanel_databases_add_access_host.png\" alt=\"Add access host\"><\/a><\/li>\n\n\n\n<li>Finally, click <code>Add Host<\/code> when you&#8217;re ready.<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-ht-blocks-messages wp-block-hb-message wp-block-hb-message--withicon is-style-info\">Once you granted access to one or more IP addresses, use port 3306 to access MariaDB on the server.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>By default, access to your databases is only enabled for localhost. Sometimes, however, it&#8217;s necessary to connect to a database on our servers from another remote server\/computer. This is managed via cPanel, where you may grant access from the IP address from which you wish to connect.<\/p>\n","protected":false},"author":9,"comment_status":"open","ping_status":"closed","template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"ht-kb-category":[197],"ht-kb-tag":[],"class_list":["post-10175","ht_kb","type-ht_kb","status-publish","format-standard","hentry","ht_kb_category-databases"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.oderland.se\/support\/en\/wp-json\/wp\/v2\/ht-kb\/10175","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.oderland.se\/support\/en\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/www.oderland.se\/support\/en\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/www.oderland.se\/support\/en\/wp-json\/wp\/v2\/users\/9"}],"replies":[{"embeddable":true,"href":"https:\/\/www.oderland.se\/support\/en\/wp-json\/wp\/v2\/comments?post=10175"}],"version-history":[{"count":8,"href":"https:\/\/www.oderland.se\/support\/en\/wp-json\/wp\/v2\/ht-kb\/10175\/revisions"}],"predecessor-version":[{"id":24940,"href":"https:\/\/www.oderland.se\/support\/en\/wp-json\/wp\/v2\/ht-kb\/10175\/revisions\/24940"}],"wp:attachment":[{"href":"https:\/\/www.oderland.se\/support\/en\/wp-json\/wp\/v2\/media?parent=10175"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/www.oderland.se\/support\/en\/wp-json\/wp\/v2\/ht-kb-category?post=10175"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/www.oderland.se\/support\/en\/wp-json\/wp\/v2\/ht-kb-tag?post=10175"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}