PHP  
 PHP_7_3
downloads | QA | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | my php.net 
 

Skip Report for ext/mysqli/tests/mysqli_real_connect_compression_error.phpt

Script

<?php
require_once('skipif.inc');
require_once(
'skipifemb.inc');
require_once(
"connect.inc");
$link = @my_mysqli_connect($host$user$passwd$db$port$socket);
if (!
$link) {
    die(
sprintf("skip Can't connect to MySQL Server - [%d] %s"mysqli_connect_errno(), mysqli_connect_error()));
}
$result $link->query("SHOW VARIABLES LIKE 'max_allowed_packet'");
if (
$result->fetch_assoc()['Value'] < 0xffffff) {
    die(
'skip max_allowed_packet is less than 0xffffff');
}
?>

Reason

max_allowed_packet is less than 0xffffff

 

Generated at Fri, 03 Dec 2021 18:13:45 +0000 (2 days ago)

Copyright © 2005-2021 The PHP Group
All rights reserved.