# 500 Internal Server Error during Installation

**URL:** <https://forum.mautic.org/t/500-internal-server-error-during-installation/10570>\
**Category:** Product Support\
**Created:** [June 8, 2018, 3:17am UTC](https://forum.mautic.org/t/500-internal-server-error-during-installation/10570 "2018-06-08T03:17:15Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![odem](https://avatars.discourse-cdn.com/v4/letter/o/a4c791/32.png) [@odem](https://forum.mautic.org/u/odem)\
**Post date:** [June 8, 2018, 3:17am UTC](https://forum.mautic.org/t/500-internal-server-error-during-installation/10570/1 "2018-06-08T03:17:15Z")

</div>

I want to install mautic on my ubuntu server with nginx.

I used the latest package ([https://www.mautic.org/download/latest](https://www.mautic.org/download/latest))  
When I first load the page and the installer should start I get the following error message:

" Uh oh! I think I broke it. If I do it again, please report me to the system administrator!  
500 Internal Server Error"

And the server log:

```auto

 mautic.CRITICAL: Uncaught PHP Exception Doctrine\DBAL\Exception\ConnectionException: "An exception occured in driver: SQLSTATE[HY000] [1045] Access denied for user ''@'localhost' (using password: NO)" at /usr/share/nginx/html/mautic/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php line 103 {"exception":"[object] (Doctrine\\DBAL\\Exception\\ConnectionException(code: 0): An exception occured in driver: SQLSTATE[HY000] [1045] Access denied for user ''@'localhost' (using password: NO) at /usr/share/nginx/html/mautic/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php:103, Doctrine\\DBAL\\Driver\\PDOException(code: 1045): SQLSTATE[HY000] [1045] Access denied for user ''@'localhost' (using password: NO) at /usr/share/nginx/html/mautic/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:47, PDOException(code: 1045): SQLSTATE[HY000] [1045] Access denied for user ''@'localhost' (using password: NO) at /usr/share/nginx/html/mautic/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:43)"} []

```

I also deleted the cache, but nothing changed.  
Why there is a Access denied for user ‘’? This information should be set during the installation i guess. Any idea what’s going wrong here?

---

<div class="post-metadata">

**Author:** ![silavapi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/silavapi/32/7424_2.png) [@silavapi](https://forum.mautic.org/u/silavapi)\
**Post date:** [October 17, 2019, 4:33pm UTC](https://forum.mautic.org/t/500-internal-server-error-during-installation/10570/2 "2019-10-17T16:33:41Z")

</div>


