Opened 6 years ago

#1943 new enhancement

Support Unix Sockets officially

Reported by: michael.ritter Owned by: comvation
Priority: normal Milestone: unknown
Component: Model Version: 3.1.1
Severity: normal Keywords:
Cc:

Description

A database connection via unix sockets can be established with a slight change in /core/Model/Db.class.php:

Replace line 117 (PDO connection DSN) with the follwing: 'mysql:dbname=' . $_DBCONFIGdatabase? . ';charset=' . $_DBCONFIGcharset? . ';unix_socket=' . preg_replace('/localhost:/', , $_DBCONFIGhost?),

It would be nice if this could be configured in the installer (and therefore config.php)

Change History (0)

Note: See TracTickets for help on using tickets.