{"id":2246,"date":"2021-09-24T09:27:00","date_gmt":"2021-09-24T09:27:00","guid":{"rendered":"https:\/\/ownwebservers.com\/kb\/?p=2246"},"modified":"2021-09-24T09:27:00","modified_gmt":"2021-09-24T09:27:00","slug":"how-to-connect-to-mysql-remotely-linux-cpanel","status":"publish","type":"post","link":"https:\/\/ownwebservers.com\/kb\/how-to-connect-to-mysql-remotely-linux-cpanel\/","title":{"rendered":"How To Connect To Mysql Remotely (Linux\/Cpanel)"},"content":{"rendered":"<p>In order for you to connect to our MySQL service remotely please follow these steps:<\/p>\n<p>&nbsp;<\/p>\n<blockquote>\n<div>1) You need to create your database using the cPanel database creation feature<\/div>\n<\/blockquote>\n<div><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-2247\" src=\"https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/09\/remotely-1-300x116.png\" alt=\"remotely-1\" width=\"1025\" height=\"396\" srcset=\"https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/09\/remotely-1-300x116.png 300w, https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/09\/remotely-1-768x297.png 768w, https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/09\/remotely-1.png 1025w\" sizes=\"auto, (max-width: 1025px) 100vw, 1025px\" \/><\/div>\n<div><\/div>\n<div><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-2248\" src=\"https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/09\/remotely-2-300x188.png\" alt=\"remotely-2\" width=\"1032\" height=\"645\" srcset=\"https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/09\/remotely-2-300x188.png 300w, https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/09\/remotely-2-1024x640.png 1024w, https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/09\/remotely-2-768x480.png 768w, https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/09\/remotely-2.png 1032w\" sizes=\"auto, (max-width: 1032px) 100vw, 1032px\" \/><\/div>\n<div><\/div>\n<blockquote>\n<div>2) You need to assign username\/password and any necessary privileges through the cPanel database management interface<\/div>\n<\/blockquote>\n<div><\/div>\n<div><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-2249\" src=\"https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/09\/remotely-3-300x184.png\" alt=\"remotely-3\" width=\"1034\" height=\"635\" srcset=\"https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/09\/remotely-3-300x184.png 300w, https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/09\/remotely-3-1024x629.png 1024w, https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/09\/remotely-3-768x472.png 768w, https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/09\/remotely-3.png 1034w\" sizes=\"auto, (max-width: 1034px) 100vw, 1034px\" \/><\/div>\n<div><\/div>\n<div><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-2250\" src=\"https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/09\/remotely-4-300x180.png\" alt=\"remotely-4\" width=\"1064\" height=\"640\" srcset=\"https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/09\/remotely-4-300x180.png 300w, https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/09\/remotely-4-1024x616.png 1024w, https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/09\/remotely-4-768x462.png 768w, https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/09\/remotely-4.png 1064w\" sizes=\"auto, (max-width: 1064px) 100vw, 1064px\" \/><\/div>\n<div><\/div>\n<div><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-2251\" src=\"https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/09\/remotely-5-300x41.png\" alt=\"remotely-5\" width=\"1281\" height=\"175\" srcset=\"https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/09\/remotely-5-300x41.png 300w, https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/09\/remotely-5-1024x140.png 1024w, https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/09\/remotely-5-768x105.png 768w, https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/09\/remotely-5.png 1281w\" sizes=\"auto, (max-width: 1281px) 100vw, 1281px\" \/><\/div>\n<div><\/div>\n<blockquote>\n<div>3) You need to add your computer IP from which you will connect using the cPanel Remote MySQL feature. If you are not sure what your IP is simply go to\u00a0<a href=\"http:\/\/www.whatismyip.com\/\" rel=\"nofollow\">http:\/\/www.whatismyip.com<\/a>\u00a0&#8211; which will show your IP address<\/div>\n<\/blockquote>\n<div><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-2252\" src=\"https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/09\/remotely-6-300x160.png\" alt=\"remotely-6\" width=\"1015\" height=\"541\" srcset=\"https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/09\/remotely-6-300x160.png 300w, https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/09\/remotely-6-768x409.png 768w, https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/09\/remotely-6.png 1015w\" sizes=\"auto, (max-width: 1015px) 100vw, 1015px\" \/><\/div>\n<div><\/div>\n<div><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-2253\" src=\"https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/09\/remotely-7-300x127.png\" alt=\"remotely-7\" width=\"1090\" height=\"461\" srcset=\"https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/09\/remotely-7-300x127.png 300w, https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/09\/remotely-7-1024x433.png 1024w, https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/09\/remotely-7-768x325.png 768w, https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/09\/remotely-7.png 1090w\" sizes=\"auto, (max-width: 1090px) 100vw, 1090px\" \/><\/div>\n<div><\/div>\n<div>Then in your application\/code\u00a0<b class=\"qtiperar\" title=\"you need|you would like|you wish\">you would like<\/b>\u00a0to specify for hostname\u00a0<b class=\"qtiperar\" title=\"the same|an equivalent|a similar|identical|constant\">constant<\/b>\u00a0hostname\u00a0<b class=\"qtiperar\" title=\"as the|because the\">because the<\/b>\u00a0server name\u00a0<b class=\"qtiperar\" title=\"specified in|laid out in|per\">per<\/b>\u00a0your account Welcome email\u00a0<b class=\"qtiperar\" title=\"or you|otherwise you\">otherwise you<\/b>\u00a0<b class=\"qtiperar\" title=\"can also|also can|can even|may also|may\">may also<\/b>\u00a0use the\u00a0<b class=\"qtiperar\" title=\"ip|information science|informatics|information processing|IP|science|scientific discipline\">informatics<\/b>\u00a0address of the server (either way). The port to\u00a0<b class=\"qtiperar\" title=\"which|that\">that<\/b>\u00a0<b class=\"qtiperar\" title=\"you need|you would like|you wish\">you would like<\/b>\u00a0<b class=\"qtiperar\" title=\"to connect|to attach\">to attach<\/b>\u00a0is 3306<\/div>\n","protected":false},"excerpt":{"rendered":"<p>In order for you to connect to our MySQL service remotely please follow these steps: &nbsp; 1) You need to create your database using the cPanel database creation feature 2) You need to assign username\/password and any necessary privileges through the cPanel database management interface 3) You need to add your computer IP from which [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[13],"tags":[],"class_list":["post-2246","post","type-post","status-publish","format-standard","hentry","category-whm"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v15.2.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How To Connect To Mysql Remotely (Linux\/Cpanel) - OWS KB<\/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:\/\/ownwebservers.com\/kb\/how-to-connect-to-mysql-remotely-linux-cpanel\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How To Connect To Mysql Remotely (Linux\/Cpanel) - OWS KB\" \/>\n<meta property=\"og:description\" content=\"In order for you to connect to our MySQL service remotely please follow these steps: &nbsp; 1) You need to create your database using the cPanel database creation feature 2) You need to assign username\/password and any necessary privileges through the cPanel database management interface 3) You need to add your computer IP from which [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/ownwebservers.com\/kb\/how-to-connect-to-mysql-remotely-linux-cpanel\/\" \/>\n<meta property=\"og:site_name\" content=\"OWS KB\" \/>\n<meta property=\"article:published_time\" content=\"2021-09-24T09:27:00+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/09\/remotely-1-300x116.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\">\n\t<meta name=\"twitter:data1\" content=\"admin\">\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\">\n\t<meta name=\"twitter:data2\" content=\"1 minute\">\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebSite\",\"@id\":\"https:\/\/ownwebservers.com\/kb\/#website\",\"url\":\"https:\/\/ownwebservers.com\/kb\/\",\"name\":\"OWS KB\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":\"https:\/\/ownwebservers.com\/kb\/?s={search_term_string}\",\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/ownwebservers.com\/kb\/how-to-connect-to-mysql-remotely-linux-cpanel\/#primaryimage\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/09\/remotely-1.png\",\"width\":1025,\"height\":396,\"caption\":\"remotely-1\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/ownwebservers.com\/kb\/how-to-connect-to-mysql-remotely-linux-cpanel\/#webpage\",\"url\":\"https:\/\/ownwebservers.com\/kb\/how-to-connect-to-mysql-remotely-linux-cpanel\/\",\"name\":\"How To Connect To Mysql Remotely (Linux\/Cpanel) - OWS KB\",\"isPartOf\":{\"@id\":\"https:\/\/ownwebservers.com\/kb\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/ownwebservers.com\/kb\/how-to-connect-to-mysql-remotely-linux-cpanel\/#primaryimage\"},\"datePublished\":\"2021-09-24T09:27:00+00:00\",\"dateModified\":\"2021-09-24T09:27:00+00:00\",\"author\":{\"@id\":\"https:\/\/ownwebservers.com\/kb\/#\/schema\/person\/4a40fe3fe17a08ddd1d7c113668e75f2\"},\"breadcrumb\":{\"@id\":\"https:\/\/ownwebservers.com\/kb\/how-to-connect-to-mysql-remotely-linux-cpanel\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/ownwebservers.com\/kb\/how-to-connect-to-mysql-remotely-linux-cpanel\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/ownwebservers.com\/kb\/how-to-connect-to-mysql-remotely-linux-cpanel\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"item\":{\"@type\":\"WebPage\",\"@id\":\"https:\/\/ownwebservers.com\/kb\/\",\"url\":\"https:\/\/ownwebservers.com\/kb\/\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"position\":2,\"item\":{\"@type\":\"WebPage\",\"@id\":\"https:\/\/ownwebservers.com\/kb\/how-to-connect-to-mysql-remotely-linux-cpanel\/\",\"url\":\"https:\/\/ownwebservers.com\/kb\/how-to-connect-to-mysql-remotely-linux-cpanel\/\",\"name\":\"How To Connect To Mysql Remotely (Linux\/Cpanel)\"}}]},{\"@type\":\"Person\",\"@id\":\"https:\/\/ownwebservers.com\/kb\/#\/schema\/person\/4a40fe3fe17a08ddd1d7c113668e75f2\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/ownwebservers.com\/kb\/#personlogo\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/ba5db5841d48bd7517bb2583e13983e6d2fa56a4099a0b3c61ad2daefc321303?s=96&d=mm&r=g\",\"caption\":\"admin\"},\"sameAs\":[\"https:\/\/ownwebservers.com\/kb\"]}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","_links":{"self":[{"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/posts\/2246","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/comments?post=2246"}],"version-history":[{"count":1,"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/posts\/2246\/revisions"}],"predecessor-version":[{"id":2254,"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/posts\/2246\/revisions\/2254"}],"wp:attachment":[{"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/media?parent=2246"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/categories?post=2246"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/tags?post=2246"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}