# Mautic 1.4.0 Installation error

**URL:** <https://forum.mautic.org/t/mautic-1-4-0-installation-error/3738>\
**Category:** Product Support\
**Created:** [May 12, 2016, 8:21am UTC](https://forum.mautic.org/t/mautic-1-4-0-installation-error/3738 "2016-05-12T08:21:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![schlieper](https://avatars.discourse-cdn.com/v4/letter/s/f475e1/32.png) [@schlieper](https://forum.mautic.org/u/schlieper)\
**Post date:** [May 12, 2016, 8:21am UTC](https://forum.mautic.org/t/mautic-1-4-0-installation-error/3738/1 "2016-05-12T08:21:10Z")

</div>

I have always the same installation error (German 1+1 Server)  
  
  
  
“An error occured while attempting to connect to the database: Unknown MySQL server host ‘localhost:/tmp/mysql5.sock’ (1)”  
  
  
  
see image:  
  
 ![mautic-1_4_0_installation-error.jpg](http://www.kurkliniken.de/image/mautic-1_4_0_installation-error.jpg)  
  
  
  
I have used the 1+1 MySQL Installation data (Socket, Port etc.) very often with other tools (Wordpress, etc.) without problems.  
  
  
  
What is to configure ???

---

<div class="post-metadata">

**Author:** ![schlieper](https://avatars.discourse-cdn.com/v4/letter/s/f475e1/32.png) [@schlieper](https://forum.mautic.org/u/schlieper)\
**Post date:** [May 12, 2016, 8:21am UTC](https://forum.mautic.org/t/mautic-1-4-0-installation-error/3738/2 "2016-05-12T08:21:10Z")

</div>

I have always the same installation error (German 1+1 Server)

“An error occured while attempting to connect to the database: Unknown MySQL server host ‘localhost:/tmp/mysql5.sock’ (1)”

see image:  
 ![](http://www.kurkliniken.de/image/mautic-1_4_0_installation-error.jpg)

I have used the 1+1 MySQL Installation data (Socket, Port etc.) very often with other tools (Wordpress, etc.) without problems.

What is to configure ???

---

<div class="post-metadata">

**Author:** ![schlieper](https://avatars.discourse-cdn.com/v4/letter/s/f475e1/32.png) [@schlieper](https://forum.mautic.org/u/schlieper)\
**Post date:** [May 12, 2016, 9:16am UTC](https://forum.mautic.org/t/mautic-1-4-0-installation-error/3738/3 "2016-05-12T09:16:46Z")

</div>

I have solved my problem with the following additional php.ini File:

mysql.default\_socket = “/tmp/mysql5.sock”  
mysqli.default\_socket = “/tmp/mysql5.sock”
