mirror of
https://github.com/php/php-src.git
synced 2025-08-18 06:58:55 +02:00
10 lines
330 B
PHP
Executable file
10 lines
330 B
PHP
Executable file
<?php
|
|
require_once('connect.inc');
|
|
if ($skip_on_connect_failure) {
|
|
include_once('connect.inc');
|
|
$link = @mysqli_connect($host, $user, $passwd, $db, $port, $socket);
|
|
if (!is_object($link))
|
|
die(sprintf("skip Can't connect to MySQL Server - [%d] %s", mysqli_connect_errno(), mysqli_connect_error()));
|
|
mysqli_close($link);
|
|
}
|
|
?>
|