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
Solved

Drupal Database Password

Posted on 2009-04-06
4
1,720 Views
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?
0
Comment
Question by:livewirewebsolutions
  • 2
4 Comments
 
LVL 5

Expert Comment

by:stephencolson
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.
0
 

Author Comment

by:livewirewebsolutions
ID: 24078491
I see the DB name and username but not the pw
0
 
LVL 2

Accepted Solution

by:
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?
0
 

Author Closing Comment

by:livewirewebsolutions
ID: 31567049
Great..Problem solved.
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
Because your company can’t afford for you to make SEO mistakes, you’ll want to ensure you’re taking the right steps each and every time you post a new piece of content. This list of optimization do’s and don’ts can help you become an SEO wizard.
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will learn how to count occurrences of each item in an array.

791 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