{"id":714,"date":"2020-09-07T21:29:12","date_gmt":"2020-09-07T15:44:12","guid":{"rendered":"http:\/\/babal.host\/blog\/?p=714"},"modified":"2020-09-12T21:37:06","modified_gmt":"2020-09-12T15:52:06","slug":"how-to-know-which-database-am-i-using-for-my-wordpress-site","status":"publish","type":"post","link":"https:\/\/babal.host\/blog\/how-to-know-which-database-am-i-using-for-my-wordpress-site\/","title":{"rendered":"How to know which database am I using for my WordPress site?"},"content":{"rendered":"<p>To know which database you&#8217;re using for your WordPress site &#8211; you will start from the cPanel, if you&#8217;re not sure on how to login to your cPanel, please follow the article as here &#8211; <a href=\"https:\/\/babal.host\/blog\/how-to-open-cpanel-for-your-website\/\" target=\"_blank\" rel=\"noopener noreferrer\">How to open cPanel for your website?<\/a><\/p>\n<ol>\n<li>Locate &#8220;File Manager&#8221; under the &#8220;Files&#8221; section at the very top of your cPanel area:<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-715\" src=\"https:\/\/babal.host\/blog\/wp-content\/uploads\/2020\/09\/which_database_being_used_1-1024x318.png\" alt=\"\" width=\"1024\" height=\"318\" srcset=\"https:\/\/babal.host\/blog\/wp-content\/uploads\/2020\/09\/which_database_being_used_1-1024x318.png 1024w, https:\/\/babal.host\/blog\/wp-content\/uploads\/2020\/09\/which_database_being_used_1-300x93.png 300w, https:\/\/babal.host\/blog\/wp-content\/uploads\/2020\/09\/which_database_being_used_1-768x238.png 768w, https:\/\/babal.host\/blog\/wp-content\/uploads\/2020\/09\/which_database_being_used_1.png 1435w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/li>\n<li>Under File Manager, locate &#8220;public_html&#8221; and double click on it to open it. You can click on it from either of the sides as shown in the image below:<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-716\" src=\"https:\/\/babal.host\/blog\/wp-content\/uploads\/2020\/09\/which_database_being_used_2-1024x449.png\" alt=\"\" width=\"1024\" height=\"449\" srcset=\"https:\/\/babal.host\/blog\/wp-content\/uploads\/2020\/09\/which_database_being_used_2-1024x449.png 1024w, https:\/\/babal.host\/blog\/wp-content\/uploads\/2020\/09\/which_database_being_used_2-300x132.png 300w, https:\/\/babal.host\/blog\/wp-content\/uploads\/2020\/09\/which_database_being_used_2-768x337.png 768w, https:\/\/babal.host\/blog\/wp-content\/uploads\/2020\/09\/which_database_being_used_2-1536x674.png 1536w, https:\/\/babal.host\/blog\/wp-content\/uploads\/2020\/09\/which_database_being_used_2.png 1914w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/>If the domain of whose database you want to know is not a primary domain but an addon, then instead of opening &#8220;public_html&#8221; open the folder with its name.<\/li>\n<li>Under &#8220;public_html&#8221; locate &#8220;wp-config&#8221;, select it and then click on &#8220;Edit&#8221; from the top navigation options. (You can also directly click on &#8220;View&#8221; instead of edit and skip to step 5 to know your database name)<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-717\" src=\"https:\/\/babal.host\/blog\/wp-content\/uploads\/2020\/09\/which_database_being_used_3-1024x433.png\" alt=\"\" width=\"1024\" height=\"433\" srcset=\"https:\/\/babal.host\/blog\/wp-content\/uploads\/2020\/09\/which_database_being_used_3-1024x433.png 1024w, https:\/\/babal.host\/blog\/wp-content\/uploads\/2020\/09\/which_database_being_used_3-300x127.png 300w, https:\/\/babal.host\/blog\/wp-content\/uploads\/2020\/09\/which_database_being_used_3-768x325.png 768w, https:\/\/babal.host\/blog\/wp-content\/uploads\/2020\/09\/which_database_being_used_3-1536x649.png 1536w, https:\/\/babal.host\/blog\/wp-content\/uploads\/2020\/09\/which_database_being_used_3.png 1914w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/li>\n<li>You&#8217;ll see the following dialog box &#8211; click on &#8220;Edit&#8221; to proceed further<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-718\" src=\"https:\/\/babal.host\/blog\/wp-content\/uploads\/2020\/09\/which_database_being_used_4.png\" alt=\"\" width=\"623\" height=\"430\" srcset=\"https:\/\/babal.host\/blog\/wp-content\/uploads\/2020\/09\/which_database_being_used_4.png 623w, https:\/\/babal.host\/blog\/wp-content\/uploads\/2020\/09\/which_database_being_used_4-300x207.png 300w\" sizes=\"auto, (max-width: 623px) 100vw, 623px\" \/><\/li>\n<li>In the following page, you&#8217;ll see something like below, it includes all your critical configurations information locate &#8220;DB_NAME&#8221; which includes your database name. See the image below for all the key details:<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-719\" src=\"https:\/\/babal.host\/blog\/wp-content\/uploads\/2020\/09\/which_database_being_used_5-1024x429.png\" alt=\"\" width=\"1024\" height=\"429\" srcset=\"https:\/\/babal.host\/blog\/wp-content\/uploads\/2020\/09\/which_database_being_used_5-1024x429.png 1024w, https:\/\/babal.host\/blog\/wp-content\/uploads\/2020\/09\/which_database_being_used_5-300x126.png 300w, https:\/\/babal.host\/blog\/wp-content\/uploads\/2020\/09\/which_database_being_used_5-768x322.png 768w, https:\/\/babal.host\/blog\/wp-content\/uploads\/2020\/09\/which_database_being_used_5-1536x644.png 1536w, https:\/\/babal.host\/blog\/wp-content\/uploads\/2020\/09\/which_database_being_used_5.png 1919w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/li>\n<li>Congratulations! You have identified the name of the database you&#8217;re using.<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>To know which database you&#8217;re using for your WordPress site &#8211; you will start from the cPanel, if you&#8217;re not sure on how to login to your cPanel, please follow the article as here &#8211; How to open cPanel for your website? Locate &#8220;File Manager&#8221; under the &#8220;Files&#8221; section at the very top of your [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":721,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[25],"tags":[],"class_list":["post-714","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-babal-guide"],"_links":{"self":[{"href":"https:\/\/babal.host\/blog\/wp-json\/wp\/v2\/posts\/714","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/babal.host\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/babal.host\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/babal.host\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/babal.host\/blog\/wp-json\/wp\/v2\/comments?post=714"}],"version-history":[{"count":2,"href":"https:\/\/babal.host\/blog\/wp-json\/wp\/v2\/posts\/714\/revisions"}],"predecessor-version":[{"id":722,"href":"https:\/\/babal.host\/blog\/wp-json\/wp\/v2\/posts\/714\/revisions\/722"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/babal.host\/blog\/wp-json\/wp\/v2\/media\/721"}],"wp:attachment":[{"href":"https:\/\/babal.host\/blog\/wp-json\/wp\/v2\/media?parent=714"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/babal.host\/blog\/wp-json\/wp\/v2\/categories?post=714"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/babal.host\/blog\/wp-json\/wp\/v2\/tags?post=714"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}