Swoole\MySQL::connect

(PHP 5 >= 5.2.0, PHP 7, 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.

����

server_config

callback

����ֵ