OpenSwoole\Core\Coroutine\Client\MysqliConfig->withUnixSocket

25.x is outdated, please check the latest version 26.x


Latest version: pecl install openswoole-26.2.0

Declaration

<?php OpenSwoole\Core\Coroutine\Client\MysqliConfig->withUnixSocket()

Parameters

unixSocket

The unix socket address MySQL.

Return

Description

Set the unix socket address of MySQL.

Last updated on February 28, 2026