mysql_set_timeout

Description

function mysql_set_timeout(
  int $query_timeout_ms,
  ?resource $link_identifier = NULL,
): bool

Sets query timeout for a connection

Parameters

  • int $query_timeout_ms - How many milli-seconds to wait for an SQL query
  • resource $link_identifier = NULL - Which connection to set to. If absent, default or current connection will be applied to.

Return Values

  • bool -