# I put on my laptop and tried accessing my wp admin put it keeps bringing up this message

**URL:** <https://community.localwp.com/t/i-put-on-my-laptop-and-tried-accessing-my-wp-admin-put-it-keeps-bringing-up-this-message/35776>\
**Category:** Support\
**Created:** [March 3, 2023, 8:27am UTC](https://community.localwp.com/t/i-put-on-my-laptop-and-tried-accessing-my-wp-admin-put-it-keeps-bringing-up-this-message/35776 "2023-03-03T08:27:17Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![activesamu3l](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/activesamu3l/32/17814_2.png) [@activesamu3l](https://community.localwp.com/u/activesamu3l)\
**Post date:** [March 3, 2023, 8:27am UTC](https://community.localwp.com/t/i-put-on-my-laptop-and-tried-accessing-my-wp-admin-put-it-keeps-bringing-up-this-message/35776/1 "2023-03-03T08:27:17Z")

</div>

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](https://wordpress.org/support/)

---

<div class="post-metadata">

**Author:** ![sambrockway](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/sambrockway/32/18726_2.png) [@sambrockway](https://community.localwp.com/u/sambrockway)\
**Post date:** [March 3, 2023, 2:00pm UTC](https://community.localwp.com/t/i-put-on-my-laptop-and-tried-accessing-my-wp-admin-put-it-keeps-bringing-up-this-message/35776/2 "2023-03-03T14:00:33Z")

</div>

Hi there @activesamu3l - welcome to the Local community! 👋

I would recommend trying out this suggestion from Ben:

> [@"error establishing database connection"](http://community.localwp.com/t/error-establishing-database-connection/22496/2):
>
> Hey @caveman75, Welcome to the Local Community Forums! It’s hard to say why the site went away, but a power outage could definitely cause a corruption within the database. Can you try restoring the site to a new one in Local? You can use a backup of the site, or try using the files for the site by following the steps outlined in the “Restoring From Only Local Site files” section of this help doc: [https://localwp.com/help-docs/how-to-import-a-wordpress-site-into-local/](https://localwp.com/help-docs/how-to-import-a-wordpress-site-into-local/) If you still have issu…

Let me know if this helps,

Sam

---

<div class="post-metadata">

**Author:** ![system](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/system/32/1_2.png) [@system](https://community.localwp.com/u/system)\
**Post date:** [June 1, 2023, 2:00pm UTC](https://community.localwp.com/t/i-put-on-my-laptop-and-tried-accessing-my-wp-admin-put-it-keeps-bringing-up-this-message/35776/3 "2023-06-01T14:00:56Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
