{"id":661,"date":"2021-03-23T16:55:41","date_gmt":"2021-03-23T16:55:41","guid":{"rendered":"https:\/\/www.register365.com\/support\/?post_type=ht_kb&#038;p=661"},"modified":"2021-04-20T17:34:51","modified_gmt":"2021-04-20T16:34:51","slug":"common-database-configuration-file-locations","status":"publish","type":"ht_kb","link":"https:\/\/www.register365.com\/support\/articles\/common-database-configuration-file-locations\/","title":{"rendered":"Common Database Configuration File Locations"},"content":{"rendered":"\n<div class=\"wp-block-nco-caution-block\"><p class=\"nco-caution-block-content\"><strong>Note:<\/strong> 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.<\/p><\/div>\n\n\n\n<p><strong>WordPress configuration file location:<\/strong> <br>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><strong>Joomla configuration file location:<\/strong> <br>httpdocs\/configuaration.php<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">var $password = '** new password here **';<\/pre>\n\n\n\n<p><strong>Drupal configuration file location: <\/strong><br>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><strong>OSCommerce 2.2 Configuration file location:<\/strong><br>httpdocs\/includes\/configure.php <br>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<div class=\"wp-block-nco-caution-block\"><p class=\"nco-caution-block-content\"><strong>Note:<\/strong> The password needs to be changed in both files.<\/p><\/div>\n\n\n\n<p><strong>Moodle 2 configuration file location:<\/strong> <br>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><strong>Magento configuration file location: <\/strong><br>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>WordPress configuration file location: httpdocs\/wp-config.php \/** MySQL database password *\/ define(&#8216;DB_PASSWORD&#8217;, &#8216;** new password here **&#8217;); Joomla configuration file location: httpdocs\/configuaration.php var $password = &#8216;** new password here **&#8217;; Drupal configuration file location: httpdocs\/sites\/default\/settings $databases = array ( &#8216;default&#8217; =&gt; array ( &#8216;default&#8217; =&gt; [ array ( &#8216;database&#8217; =&gt; &#8216;database-name&#8217;, &#8216;username&#8217; =&gt; &#8216;database-username&#8217;, &#8216;password&#8217; =&gt; [&hellip;]<\/p>\n","protected":false},"author":2,"comment_status":"open","ping_status":"closed","template":"","format":"standard","meta":{"footnotes":""},"ht-kb-category":[58,57],"ht-kb-tag":[64,62,61],"class_list":["post-661","ht_kb","type-ht_kb","status-publish","format-standard","hentry","ht_kb_category-managed-servers","ht_kb_category-servers","ht_kb_tag-3rd-party-applications","ht_kb_tag-managed-servers","ht_kb_tag-servers"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Common Database Configuration File Locations - Support Centre - Register365<\/title>\n<meta name=\"description\" content=\"Common database configuration file locations in popular 3rd party applications\" \/>\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.register365.com\/support\/articles\/common-database-configuration-file-locations\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Common Database Configuration File Locations - Support Centre - Register365\" \/>\n<meta property=\"og:description\" content=\"Common database configuration file locations in popular 3rd party applications\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.register365.com\/support\/articles\/common-database-configuration-file-locations\/\" \/>\n<meta property=\"og:site_name\" content=\"Support Centre - Register365\" \/>\n<meta property=\"article:modified_time\" content=\"2021-04-20T16:34:51+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\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.register365.com\/support\/articles\/common-database-configuration-file-locations\/\",\"url\":\"https:\/\/www.register365.com\/support\/articles\/common-database-configuration-file-locations\/\",\"name\":\"Common Database Configuration File Locations - Support Centre - Register365\",\"isPartOf\":{\"@id\":\"https:\/\/www.register365.com\/support\/#website\"},\"datePublished\":\"2021-03-23T16:55:41+00:00\",\"dateModified\":\"2021-04-20T16:34:51+00:00\",\"description\":\"Common database configuration file locations in popular 3rd party applications\",\"breadcrumb\":{\"@id\":\"https:\/\/www.register365.com\/support\/articles\/common-database-configuration-file-locations\/#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.register365.com\/support\/articles\/common-database-configuration-file-locations\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.register365.com\/support\/articles\/common-database-configuration-file-locations\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.register365.com\/support\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Common Database Configuration File Locations\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.register365.com\/support\/#website\",\"url\":\"https:\/\/www.register365.com\/support\/\",\"name\":\"Support Centre - Register365\",\"description\":\"Register365 Support Centre\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.register365.com\/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 - Register365","description":"Common database configuration file locations in popular 3rd party applications","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.register365.com\/support\/articles\/common-database-configuration-file-locations\/","og_locale":"en_US","og_type":"article","og_title":"Common Database Configuration File Locations - Support Centre - Register365","og_description":"Common database configuration file locations in popular 3rd party applications","og_url":"https:\/\/www.register365.com\/support\/articles\/common-database-configuration-file-locations\/","og_site_name":"Support Centre - Register365","article_modified_time":"2021-04-20T16:34:51+00:00","twitter_card":"summary_large_image","twitter_misc":{"Estimated reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.register365.com\/support\/articles\/common-database-configuration-file-locations\/","url":"https:\/\/www.register365.com\/support\/articles\/common-database-configuration-file-locations\/","name":"Common Database Configuration File Locations - Support Centre - Register365","isPartOf":{"@id":"https:\/\/www.register365.com\/support\/#website"},"datePublished":"2021-03-23T16:55:41+00:00","dateModified":"2021-04-20T16:34:51+00:00","description":"Common database configuration file locations in popular 3rd party applications","breadcrumb":{"@id":"https:\/\/www.register365.com\/support\/articles\/common-database-configuration-file-locations\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.register365.com\/support\/articles\/common-database-configuration-file-locations\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.register365.com\/support\/articles\/common-database-configuration-file-locations\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.register365.com\/support\/"},{"@type":"ListItem","position":2,"name":"Common Database Configuration File Locations"}]},{"@type":"WebSite","@id":"https:\/\/www.register365.com\/support\/#website","url":"https:\/\/www.register365.com\/support\/","name":"Support Centre - Register365","description":"Register365 Support Centre","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.register365.com\/support\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-GB"}]}},"_links":{"self":[{"href":"https:\/\/www.register365.com\/support\/wp-json\/wp\/v2\/ht-kb\/661","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.register365.com\/support\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/www.register365.com\/support\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/www.register365.com\/support\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.register365.com\/support\/wp-json\/wp\/v2\/comments?post=661"}],"version-history":[{"count":2,"href":"https:\/\/www.register365.com\/support\/wp-json\/wp\/v2\/ht-kb\/661\/revisions"}],"predecessor-version":[{"id":663,"href":"https:\/\/www.register365.com\/support\/wp-json\/wp\/v2\/ht-kb\/661\/revisions\/663"}],"wp:attachment":[{"href":"https:\/\/www.register365.com\/support\/wp-json\/wp\/v2\/media?parent=661"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/www.register365.com\/support\/wp-json\/wp\/v2\/ht-kb-category?post=661"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/www.register365.com\/support\/wp-json\/wp\/v2\/ht-kb-tag?post=661"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}