src/Leevel/Database/Manager.php
protected function makeConnectMysql(array $option = []): Mysql
    {
        return new Mysql(
            $this->normalizeConnectOption('mysql', $option),
            $this->container->make(IDispatch::class)
        );
    }
protected function makeConnectMysql(array $option = []): Mysql
    {
        return new Mysql(
            $this->normalizeConnectOption('mysql', $option),
            $this->container->make(IDispatch::class)
        );
    }
创建 mysql 连接.

@param array $option

@return \Leevel\Database\Mysql