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