version 1.1.1.1, 2012/02/21 23:47:58
|
version 1.1.1.2, 2013/07/22 01:31:56
|
Line 24 if ($res = $link->query('SHOW VARIABLES LIKE "have_ssl
|
Line 24 if ($res = $link->query('SHOW VARIABLES LIKE "have_ssl
|
die(sprintf("skip Failed to test for MySQL SSL support, [%d] %s", $link->errno, $link->error)); |
die(sprintf("skip Failed to test for MySQL SSL support, [%d] %s", $link->errno, $link->error)); |
} |
} |
} |
} |
|
|
|
|
|
|
if (empty($row)) |
if (empty($row)) |
die(sprintf("skip Failed to test for MySQL SSL support, [%d] %s", $link->errno, $link->error)); |
die(sprintf("skip Failed to test for MySQL SSL support, [%d] %s", $link->errno, $link->error)); |
|
|
if ($row[1] == 'NO') | if (($row[1] == 'NO') || ($row[1] == 'DISABLED')) |
die(sprintf("skip MySQL has no SSL support, [%d] %s", $link->errno, $link->error)); |
die(sprintf("skip MySQL has no SSL support, [%d] %s", $link->errno, $link->error)); |
|
|
$link->close(); |
$link->close(); |