Swoole\MySQL::connect

(PECL swoole >= 1.9.0)

Swoole\MySQL::connectConnect to the remote MySQL server.

Description

publicSwoole\MySQL::connect(array$server_config, callable$callback): void

Connect to the remote MySQL server.

Parameters

server_config

callback

Return Values

To Top