Lines Matching refs:link
12 if (!($link = @my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)))
16 if ($res = $link->query('SHOW VARIABLES LIKE "have_ssl"')) {
19 if ($link->errno == 1064 && ($res = $link->query("SHOW VARIABLES"))) {
24 die(sprintf("skip Failed to test for MySQL SSL support, [%d] %s", $link->errno, $link->error));
30 die(sprintf("skip Failed to test for MySQL SSL support, [%d] %s", $link->errno, $link->error));
33 die(sprintf("skip MySQL has no SSL support, [%d] %s", $link->errno, $link->error));
35 $link->close();
45 $link = mysqli_init();
46 mysqli_ssl_set($link, null, null, null, null, "RC4-MD5");
47 if (my_mysqli_real_connect($link, 'p:' . $host, $user, $passwd, $db, $port, null, $flags)) {
48 $r = $link->query("SHOW STATUS LIKE 'Ssl_cipher'");