Mautic MySQL-Socket Installation Problem on an 1und1.de Server

I have a problem to install Mautic 1.3.1 on a dedicated Ready to run server from www.1und1.de.



If I try to use the normal installation process with the 1und1 MySQLi Driver I always get the following Error:



“An error ocurred while attempting to connect to the database: Can’t connect to local MySQL-Server through socket

‘var/run/mysqld/mysqld.sock’ (2)”




I have tried every combination of Hostname or Port. Mautic always tried to get another socket; 1und1-Server need the socket:



/tmp/mysql5.sock



Datenbankname : db4403XXXXX

Hostname : localhost:/tmp/mysql5.sock

OR

Hostname : localhost

Port : 3316

OR

Port:: 3306

Benutzername : dbo4403XXXXX

Version : MySQL5.0

Socket : /tmp/mysql5.sock

I have a problem to install Mautic 1.3.1 on a dedicated Ready to run server from www.1und1.de.

If I try to use the normal installation process with the 1und1 MySQLi Driver I always get the following Error:

“An error ocurred while attempting to connect to the database: Can’t connect to local MySQL-Server through socket
‘var/run/mysqld/mysqld.sock’ (2)”

I have tried every combination of Hostname or Port. Mautic always tried to get another socket; 1und1-Server need the socket:

/tmp/mysql5.sock

Datenbankname : db4403XXXXX
Hostname : localhost:/tmp/mysql5.sock
OR
Hostname : localhost
Port : 3316
OR
Port:: 3306
Benutzername : dbo4403XXXXX
Version : MySQL5.0
Socket : /tmp/mysql5.sock

I have solved my problem with the new version 1.4.0 and the following additional php.ini File:

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