• Plans & Pricing
  • Log in
  • Get started
  • WordPress Hosting
  • WordPress for Agencies
  • Become an Affiliate
  • Domain Names
  • AI Website Builder
  • Website Builder
  • Create a Blog
  • Newsletter
  • Professional Email
  • Website Design Services
  • Commerce
  • WordPress Studio
  • Enterprise WordPress 
  • Overview
  • WordPress Themes
  • WordPress Plugins
  • WordPress Patterns
  • Google Apps
  • Support Center
  • WordPress News
  • Business Name Generator
  • Logo Maker
  • Discover New Posts
  • Popular Tags
  • Blog Search
Get started
  • Sign up
  • Log in
About
  • Plans & Pricing
Products
  • WordPress Hosting
  • WordPress for Agencies
  • Become an Affiliate
  • Domain Names
  • AI Website Builder
  • Website Builder
  • Create a Blog
  • Newsletter
  • Professional Email
  • Website Design Services
  • Commerce
  • WordPress Studio
  • Enterprise WordPress  
Features
  • Overview
  • WordPress Themes
  • WordPress Plugins
  • WordPress Patterns
  • Google Apps
Resources
  • Support Center
  • WordPress News
  • Business Name Generator
  • Logo Maker
  • Discover New Posts
  • Popular Tags
  • Blog Search
Jetpack App
  • Learn more
  • Support Center
  • Guides
  • Courses
  • Forums
  • Contact
Search
  • Support Center
  • Guides
  • Courses
  • Forums
  • Contact
Forums / Error establishing a database connection

Error establishing a database connection

  • Unknown's avatar
    dokumentamarble · Member · Nov 11, 2006 at 11:07 pm
    • Copy link Copy link
    • Add topic to favorites Add topic to favorites

    Error establishing a database connection

    This either means that the username and password information in your wp-config.php file is incorrect or we can’t contact the database server at localhost. This could mean your host’s database server is down.

    * Are you sure you have the correct username and password?
    * Are you sure that you have typed the correct hostname?
    * Are you sure that the database server is running?

    If you’re unsure what these terms mean you should probably contact your host. If you still need help you can always visit the WordPress Support Forums.

    You get that error when going to my website http://www.dokumentamarble.com . It has been down for about a week now due to this problem. I have contacted my webhost and they have been trying (unsuccessfully) to get help. Any advice or help is welcomed alot. One thing i noticed was that when i looked in my wp-config.php file the passwords and usernames wern’t plain, they had _wrdp1′ after the usernames. i changed that but to no avail. Suggestions please.

    .dok

  • Unknown's avatar
    drmike · Member · Nov 11, 2006 at 11:15 pm
    • Copy link Copy link

    Suggestions:

    1) Always read a post labeled Read me first.

    2) Searching for the error first before posting will usually help as well.

    Please head over to http://wordpress.org as that’s where you need to be as you’re running different software than we are.

    Hope this helps,
    -drmike

  • Unknown's avatar
    dokumentamarble · Member · Nov 11, 2006 at 11:17 pm
    • Copy link Copy link

    Thanks. However I have done both of those already. They did not help me so I posted here.

  • Unknown's avatar
    dokumentamarble · Member · Nov 11, 2006 at 11:23 pm
    • Copy link Copy link

    Here is my wp-config.php if it helps any. The ***** will replace username and password….duh.

    <?php
    // ** MySQL settings ** //
    define(‘DB_NAME’, ‘*****_wrdp1’); // The name of the database
    define(‘DB_USER’, ‘*****_wrdp1’); // Your MySQL username
    define(‘DB_PASSWORD’, ‘*****’); // …and password
    define(‘DB_HOST’, ‘localhost’); // 99% chance you won’t need to change this value

    // You can have multiple installations in one database if you give each a unique prefix
    $table_prefix = ‘wp_’; // Only numbers, letters, and underscores please!

    // Change this to localize WordPress. A corresponding MO file for the
    // chosen language must be installed to wp-includes/languages.
    // For example, install de.mo to wp-includes/languages and set WPLANG to ‘de’
    // to enable German language support.
    define (‘WPLANG’, ”);

    /* That’s all, stop editing! Happy blogging.

    define(‘ABSPATH’, dirname(__FILE__).’/’);
    require_once(ABSPATH.’wp-settings.php’);
    ?>

    Not that I am saying that this is the problem. It could be something else. I dont know, thats why I’m here. Thanks again

    .dok

  • Unknown's avatar
    drmike · Member · Nov 12, 2006 at 12:15 am
    • Copy link Copy link

    Please head over to http://wordpress.org as that’s where you need to be as you’re running different software than we are. Both the read me first post and those threads I pointed you at state that.

    Hope this helps,
    -drmike

  • Unknown's avatar
    poembookone · Member · Jul 3, 2007 at 6:15 pm
    • Copy link Copy link

    http://www.gobi-igloo.com/poems/

    There is an long time urgent need (L.T.U.N.) to get a new dataBASE [wp-config.php] password or find the -lost- original. Apparently I can’t change it myself with myphpadmin. Seems like there should be a way out of this problem. Very much appreciate hearing from any of you: (email visible only to moderators and staff)

  • Unknown's avatar
    timethief · Member · Jul 3, 2007 at 6:16 pm
    • Copy link Copy link

    @poembookone
    Please read the posts above your own in this thread. Then please head over to http://wordpress.org as that’s where you need to be as you’re running different software than we are. Both the read me first post and those threads drmike pointed to above state that.

  • Unknown's avatar
    drmike · Member · Jul 3, 2007 at 6:34 pm
    • Copy link Copy link

    It’s also always best to read a thread before posting in it.

    *sigh*

  • The topic ‘Error establishing a database connection’ is closed to new replies.

Tags

  • database
  • error
  • login
  • website

About this topic

  • In: Support
  • 4 participants
  • 7 replies
  • Last activity 18 years
  • Latest reply from dokumentamarble

Couldn't find what you needed?

Contact us

Contact us

Get answers from our AI assistant, with access to 24/7 expert human support on paid plans.

Browse our guides

Browse our guides

Find step-by-step solutions to common questions in our comprehensive guides.

WordPress.com

Products
  • WordPress Hosting
  • WordPress for Agencies
  • Become an Affiliate
  • Domain Names
  • AI Website Builder
  • Website Builder
  • Create a Blog
  • Professional Email
  • Website Design Services
  • WordPress Studio
  • Enterprise WordPress
Features
  • Overview
  • WordPress Themes
  • WordPress Plugins
  • WordPress Patterns
  • Google Apps
Resources
  • WordPress.com Blog
  • Business Name Generator
  • Logo Maker
  • WordPress.com Reader
  • Accessibility
  • Remove Subscriptions
Help
  • Support Center
  • Guides
  • Courses
  • Forums
  • Contact
  • Developer Resources
Company
  • About
  • Press
  • Terms of Service
  • Privacy Policy
  • Do Not Sell or Share My Personal Information
  • Privacy Notice for California Users
DeutschEspañolFrançaisBahasa IndonesiaItalianoNederlandsPortuguês do BrasilSvenskaTürkçeРусскийالعربيةעִבְרִית日本語한국어简体中文繁體中文English

Mobile Apps

  • Download on the App Store
  • Get it on Google Play

Social Media

  • WordPress.com on Facebook
  • WordPress.com on X (Twitter)
  • WordPress.com on Instagram
  • WordPress.com on YouTube

Automattic

Automattic
Work With Us
    • WordPress.com Forums
    • Sign up
    • Log in
    • Copy shortlink
    • Report this content
    • Manage subscriptions