Contao LTS mysqli socket connection support
copy the content of the src folder to your Installation (PLEASE NOT WITH APPLE FINDER), merge the data, not overwrite all
Modify your system/config/localconfig.php
$GLOBALS['TL_CONFIG']['dbDriver'] = 'mysqliwithsocketsupport';
$GLOBALS['TL_CONFIG']['dbSocket'] = 'path/to/the/mysql.sock';