* [ADD] Allows to use UNIX socket for MySQL DB connection. Related #382

This commit is contained in:
nuxsmin
2017-01-27 12:06:47 +01:00
parent 013713ebae
commit b4a74a4b6d
4 changed files with 67 additions and 9 deletions

View File

@@ -55,6 +55,10 @@ class InstallData
* @var string Host de la BD
*/
private $dbHost = 'localhost';
/**
* @var string
*/
private $dbSocket;
/**
* @var int
*/
@@ -311,4 +315,20 @@ class InstallData
{
$this->dbAuthHostDns = $dbAuthHostDns;
}
/**
* @return string
*/
public function getDbSocket()
{
return $this->dbSocket;
}
/**
* @param string $dbSocket
*/
public function setDbSocket($dbSocket)
{
$this->dbSocket = $dbSocket;
}
}