1<?php
2require_once('connect.inc');
3if ($skip_on_connect_failure) {
4    include_once('connect.inc');
5    $link = @my_mysqli_connect($host, $user, $passwd, $db, $port, $socket);
6    if (!is_object($link))
7        die(sprintf("skip Can't connect to MySQL Server - [%d] %s", mysqli_connect_errno(), mysqli_connect_error()));
8    mysqli_close($link);
9}
10?>
11