Mautic Community Forums

Mautic 1.4.0 Installation error

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



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 ???

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:

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 ???

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

mysql.default_socket = “/tmp/mysql5.sock”
mysqli.default_socket = “/tmp/mysql5.sock”