= 1.9.0)Swoole\MySQL::connect — Connect to the remote MySQL server.說明public Swoole\MySQL::connect(array $server_con">

Swoole\MySQL::connect

(PECL swoole >= 1.9.0)

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

說明

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

Connect to the remote MySQL server.

參數(shù)

server_config

callback

返回值