Drupal Database Password

Posted on 2009-04-06
Last Modified: 2012-05-06
I have a Drupal site and have changed the PW to the database.  Where, in the files, do I have to change the PW to get the site up and running again?
Question by:livewirewebsolutions
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2

Expert Comment

ID: 24078268
You would change it in your settings.php file. This could be in sites/default/settings.php or sites/(site url)/settings.php depending on your setup.

Author Comment

ID: 24078491
I see the DB name and username but not the pw

Accepted Solution

thomas_nc earned 300 total points
ID: 24079288
In D6, the setting should read like:

$db_url = ' mysqli://username:password@server/databasename';

What version of Drupal are you using?

Author Closing Comment

ID: 31567049
Great..Problem solved.

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Wordpress plugins not working in html 3 49
Un-Indent Setting Notepad++ 3 26
Adding items to a C# list incrementally 5 63
Adding a countdown to HTA 12 98
There’s a good reason for why it’s called a homepage – it closely resembles that of a physical house and the only real difference is that it’s online. Your website’s homepage is where people come to visit you. It’s the family room of your website wh…
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
This tutorial walks through the best practices in adding a local business to Google Maps including how to properly search for duplicates, marker placement, and inputing business details. Login to your Google Account, then search for "Google Mapmaker…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question