{"id":465,"date":"2020-09-14T15:20:57","date_gmt":"2020-09-14T14:20:57","guid":{"rendered":"http:\/\/kbnco.names.dev.pdunsford.localdev\/?post_type=ht_kb&#038;p=465"},"modified":"2024-10-25T12:33:21","modified_gmt":"2024-10-25T11:33:21","slug":"common-database-configuration-file-locations","status":"publish","type":"ht_kb","link":"https:\/\/www.names.co.uk\/support\/articles\/common-database-configuration-file-locations\/","title":{"rendered":"Common Database Configuration File Locations"},"content":{"rendered":"\n<p><strong>Please note that the information below is provided to assist you with changing the connection strings of the most commonly used database driven web applications and we cannot offer a guide on every possible software solution available.<\/strong><\/p>\n\n\n\n<p>WordPress configuration file location : httpdocs\/wp-config.php<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">\/** MySQL database password *\/   \ndefine('DB_PASSWORD', '** new password here **');<\/pre>\n\n\n\n<p>Joomla configuration file location : httpdocs\/configuaration.php<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">var $password = '** new password here **';<\/pre>\n\n\n\n<p>Drupal configuration file location : httpdocs\/sites\/default\/settings<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">$databases = array (  \n'default' =&gt;   \narray (   \n'default' =&gt; [  \narray (   \n'database' =&gt; 'database-name',   \n'username' =&gt; 'database-username',  \n'password' =&gt; '**new password here***',   \n'host' =&gt; 'localhost',     \n'port' =&gt; '',   \n'driver' =&gt; 'mysql',  \n'prefix' =&gt; '',<\/pre>\n\n\n\n<p>OSCommerce 2.2 Configuration file location : httpdocs\/includes\/configure.php &amp; httpdocs\/admin\/includes\/configure.php<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">define('DB_SERVER_PASSWORD', '** new password **');<\/pre>\n\n\n\n<p><strong>The password needs to be changed in both files.<\/strong><\/p>\n\n\n\n<p>Moodle 2 configuration file location : httpdocs\/config.php<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">$CFG-&gt;dbpass = '** new password here **';<\/pre>\n\n\n\n<p>Magento configuration file location : httpdocs\/app\/etc\/local.xml<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">&lt;password&gt;&lt;![CDATA[** new password here ** ]]&gt;&lt;\/password&gt;<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Please note that the information below is provided to assist you with changing the connection strings of the most commonly used database driven web applications and we cannot offer a guide on every possible software solution available. WordPress configuration file location : httpdocs\/wp-config.php \/** MySQL database password *\/ define(&#8216;DB_PASSWORD&#8217;, &#8216;** new password here **&#8217;); Joomla [&hellip;]<\/p>\n","protected":false},"author":2,"comment_status":"closed","ping_status":"closed","template":"","format":"standard","meta":{"footnotes":""},"ht-kb-category":[163,140],"ht-kb-tag":[126,141,257],"class_list":["post-465","ht_kb","type-ht_kb","status-publish","format-standard","hentry","ht_kb_category-managed-servers","ht_kb_category-servers","ht_kb_tag-managed-servers","ht_kb_tag-servers","ht_kb_tag-xsw"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.7 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Common Database Configuration File Locations - Support Centre - names.co.uk<\/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.names.co.uk\/support\/articles\/common-database-configuration-file-locations\/\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Common Database Configuration File Locations - Support Centre - names.co.uk\" \/>\n<meta property=\"og:description\" content=\"Please note that the information below is provided to assist you with changing the connection strings of the most commonly used database driven web applications and we cannot offer a guide on every possible software solution available. WordPress configuration file location : httpdocs\/wp-config.php \/** MySQL database password *\/ define(&#039;DB_PASSWORD&#039;, &#039;** new password here **&#039;); Joomla [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.names.co.uk\/support\/articles\/common-database-configuration-file-locations\/\" \/>\n<meta property=\"og:site_name\" content=\"Support Centre - names.co.uk\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/namesco\" \/>\n<meta property=\"article:modified_time\" content=\"2024-10-25T11:33:21+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.names.co.uk\/support\/wp-content\/uploads\/2021\/02\/og-support-centre.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"630\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:site\" content=\"@namesco\" \/>\n<meta name=\"twitter:label1\" content=\"Estimated 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.names.co.uk\/support\/articles\/common-database-configuration-file-locations\/\",\"url\":\"https:\/\/www.names.co.uk\/support\/articles\/common-database-configuration-file-locations\/\",\"name\":\"Common Database Configuration File Locations - Support Centre - names.co.uk\",\"isPartOf\":{\"@id\":\"https:\/\/www.names.co.uk\/support\/#website\"},\"datePublished\":\"2020-09-14T14:20:57+00:00\",\"dateModified\":\"2024-10-25T11:33:21+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.names.co.uk\/support\/articles\/common-database-configuration-file-locations\/#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.names.co.uk\/support\/articles\/common-database-configuration-file-locations\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.names.co.uk\/support\/articles\/common-database-configuration-file-locations\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.names.co.uk\/support\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Common Database Configuration File Locations\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.names.co.uk\/support\/#website\",\"url\":\"https:\/\/www.names.co.uk\/support\/\",\"name\":\"Support Centre - names.co.uk\",\"description\":\"names.co.uk Support Centre\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.names.co.uk\/support\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-GB\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Common Database Configuration File Locations - Support Centre - names.co.uk","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.names.co.uk\/support\/articles\/common-database-configuration-file-locations\/","og_locale":"en_GB","og_type":"article","og_title":"Common Database Configuration File Locations - Support Centre - names.co.uk","og_description":"Please note that the information below is provided to assist you with changing the connection strings of the most commonly used database driven web applications and we cannot offer a guide on every possible software solution available. WordPress configuration file location : httpdocs\/wp-config.php \/** MySQL database password *\/ define('DB_PASSWORD', '** new password here **'); Joomla [&hellip;]","og_url":"https:\/\/www.names.co.uk\/support\/articles\/common-database-configuration-file-locations\/","og_site_name":"Support Centre - names.co.uk","article_publisher":"https:\/\/www.facebook.com\/namesco","article_modified_time":"2024-10-25T11:33:21+00:00","og_image":[{"width":1200,"height":630,"url":"https:\/\/www.names.co.uk\/support\/wp-content\/uploads\/2021\/02\/og-support-centre.png","type":"image\/png"}],"twitter_card":"summary_large_image","twitter_site":"@namesco","twitter_misc":{"Estimated reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.names.co.uk\/support\/articles\/common-database-configuration-file-locations\/","url":"https:\/\/www.names.co.uk\/support\/articles\/common-database-configuration-file-locations\/","name":"Common Database Configuration File Locations - Support Centre - names.co.uk","isPartOf":{"@id":"https:\/\/www.names.co.uk\/support\/#website"},"datePublished":"2020-09-14T14:20:57+00:00","dateModified":"2024-10-25T11:33:21+00:00","breadcrumb":{"@id":"https:\/\/www.names.co.uk\/support\/articles\/common-database-configuration-file-locations\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.names.co.uk\/support\/articles\/common-database-configuration-file-locations\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.names.co.uk\/support\/articles\/common-database-configuration-file-locations\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.names.co.uk\/support\/"},{"@type":"ListItem","position":2,"name":"Common Database Configuration File Locations"}]},{"@type":"WebSite","@id":"https:\/\/www.names.co.uk\/support\/#website","url":"https:\/\/www.names.co.uk\/support\/","name":"Support Centre - names.co.uk","description":"names.co.uk Support Centre","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.names.co.uk\/support\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-GB"}]}},"_links":{"self":[{"href":"https:\/\/www.names.co.uk\/support\/wp-json\/wp\/v2\/ht-kb\/465","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.names.co.uk\/support\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/www.names.co.uk\/support\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/www.names.co.uk\/support\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.names.co.uk\/support\/wp-json\/wp\/v2\/comments?post=465"}],"version-history":[{"count":1,"href":"https:\/\/www.names.co.uk\/support\/wp-json\/wp\/v2\/ht-kb\/465\/revisions"}],"predecessor-version":[{"id":725,"href":"https:\/\/www.names.co.uk\/support\/wp-json\/wp\/v2\/ht-kb\/465\/revisions\/725"}],"wp:attachment":[{"href":"https:\/\/www.names.co.uk\/support\/wp-json\/wp\/v2\/media?parent=465"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/www.names.co.uk\/support\/wp-json\/wp\/v2\/ht-kb-category?post=465"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/www.names.co.uk\/support\/wp-json\/wp\/v2\/ht-kb-tag?post=465"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}