mysql_connect_with_db

function mysql_connect_with_db(
  string $server = '',
  string $username = '',
  string $password = '',
  string $database = '',
  bool $new_link = false,
  int $client_flags = 0,
  int $connect_timeout_ms = -1,
  int $query_timeout_ms = -1,
  darray<string> $conn_attrs = array (
),
): mixed;

Parameters

  • string $server = ''
  • string $username = ''
  • string $password = ''
  • string $database = ''
  • bool $new_link = false
  • int $client_flags = 0
  • int $connect_timeout_ms = -1
  • int $query_timeout_ms = -1
  • darray<string> $conn_attrs = array ( )

Returns

  • mixed