# Error when trying to install forest

**URL:** <https://community.forestadmin.com/t/error-when-trying-to-install-forest/5846>\
**Category:** Help me!\
**Created:** [January 14, 2023, 8:58pm UTC](https://community.forestadmin.com/t/error-when-trying-to-install-forest/5846 "2023-01-14T20:58:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mohamed\_Adly](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/mohamed_adly/32/5619_2.png) [@Mohamed\_Adly](https://community.forestadmin.com/u/Mohamed_Adly)\
**Post date:** [January 14, 2023, 8:58pm UTC](https://community.forestadmin.com/t/error-when-trying-to-install-forest/5846/1 "2023-01-14T20:58:27Z")

</div>

## Feature(s) impacted

## Observed behavior

## Expected behavior

## Failure Logs

## Context

- Project name: WLM
- Team name: Mohamed adly
- Environment name: …
- Agent type & version: …
- Recent changes made on your end if any: …

ERROR

SQLSTATE[HY000] [1045] Access denied for user ‘forge’@‘localhost’ (using password: NO)

at vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php:70  
66▕ if (class\_exists(PDOConnection::class) && ! $this-\>isPersistentConnection($options)) {  
67▕ return new PDOConnection($dsn, $username, $password, $options);  
68▕ }  
69▕  
➜ 70▕ return new PDO($dsn, $username, $password, $options);  
71▕ }  
72▕  
73▕ /\*\*  
74▕ \* Determine if the connection is persistent.

```
  +19 vendor frames 

```

20 artisan:37  
Illuminate\Foundation\Console\Kernel::handle()

---

<div class="post-metadata">

**Author:** ![anon7311026](https://avatars.discourse-cdn.com/v4/letter/a/f9ae1b/32.png) [@anon7311026](https://community.forestadmin.com/u/anon7311026)\
**Post date:** [January 16, 2023, 8:25am UTC](https://community.forestadmin.com/t/error-when-trying-to-install-forest/5846/2 "2023-01-16T08:25:50Z")

</div>

Hi @Mohamed_Adly, and welcome to our community.

I’m sorry that you are encountering an issue while trying to install Forest Admin. You have provided little context for me to be certain, but the following error :  
**SQLSTATE[HY000] [1045] Access denied for user ‘forge’@‘localhost’ (using password: NO)**  
seem to indicate that you cannot connect to your local database.

Can you please make sure that the credentials provided are correct and that the profile used has enough rights to access the data ?  
If the issue persists thank you to provide more details: your technical stack, your environment, which step of the onboarding you are stuck at, what you have tried, and so on…  
Thanks,

Nicolas
