AsyncMysqlConnectionPool::connectWithOpts

public function connectWithOpts(
  string $host,
  int $port,
  string $dbname,
  string $user,
  string $password,
  AsyncMysqlConnectionOptions $conn_options,
  string $extra_key = '',
): Awaitable<AsyncMysqlConnection>;

Parameters

  • string $host
  • int $port
  • string $dbname
  • string $user
  • string $password
  • AsyncMysqlConnectionOptions $conn_options
  • string $extra_key = ''