[eluser]@robertotra[/eluser]
Hello,
in the connection options to connect to the database there is the port:
Code:
$db['default']['port'] = 5432;
but how can I pass also the socket? It is the last option in the mysqli connection:
Code:
mysqli::__construct() ([ string $host = ini_get("mysqli.default_host") [, string $username = ini_get("mysqli.default_user") [, string $passwd = ini_get("mysqli.default_pw") [, string $dbname = "" [, int $port = ini_get("mysqli.default_port") [, string $socket = ini_get("mysqli.default_socket") ]]]]]] )
will the following work?
Code:
$db['default']['socket'] = '/my/path/to/socket';
or there is another way? Or should I add my custom code to the connector in order to send also the socket?
Thank you in advance and regards
Roberto