# DB setup error

**URL:** <https://forum.mautic.org/t/db-setup-error/8020>\
**Category:** Product Support\
**Created:** [March 25, 2017, 1:53pm UTC](https://forum.mautic.org/t/db-setup-error/8020 "2017-03-25T13:53:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![peterj](https://avatars.discourse-cdn.com/v4/letter/p/22d042/32.png) [@peterj](https://forum.mautic.org/u/peterj)\
**Post date:** [March 25, 2017, 1:53pm UTC](https://forum.mautic.org/t/db-setup-error/8020/1 "2017-03-25T13:53:35Z")

</div>

Hi,  
  
  
  
I have just been trying to install Mautic but when I fill out the DB setup page I receive this error.

* * *
An error occured while attempting to connect to the database: An exception occured in driver: SQLSTATE[HY000] [1045] Access denied for user '\*\*\*\*\*\*\_mautic'@'localhost' (using password: YES)
* * *
  
From what I can gather from Google it seem to be an issue with my host. Is this the case?  
  
Just want to check before I get on to them.  
  
Cheers

---

<div class="post-metadata">

**Author:** ![peterj](https://avatars.discourse-cdn.com/v4/letter/p/22d042/32.png) [@peterj](https://forum.mautic.org/u/peterj)\
**Post date:** [March 25, 2017, 1:53pm UTC](https://forum.mautic.org/t/db-setup-error/8020/2 "2017-03-25T13:53:35Z")

</div>

Hi,

I have just been trying to install Mautic but when I fill out the DB setup page I receive this error.

* * *

## An error occured while attempting to connect to the database: An exception occured in driver: SQLSTATE[HY000] [1045] Access denied for user ‘\*\*\*\*\*\*\_mautic’@‘localhost’ (using password: YES)

From what I can gather from Google it seem to be an issue with my host. Is this the case?

Just want to check before I get on to them.

Cheers

---

<div class="post-metadata">

**Author:** ![peterj](https://avatars.discourse-cdn.com/v4/letter/p/22d042/32.png) [@peterj](https://forum.mautic.org/u/peterj)\
**Post date:** [March 25, 2017, 7:32pm UTC](https://forum.mautic.org/t/db-setup-error/8020/3 "2017-03-25T19:32:40Z")

</div>

Thanks for that. The strange thing is I had all privileges set. I deleted the DB and started from scratch 4 times just to be sure and on the third time it worked.
