strSocketProblem

This commit is contained in:
Marc Delisle
2005-03-07 20:39:56 +00:00
parent c4cf36a08d
commit 3fa2421b71
105 changed files with 365 additions and 260 deletions

View File

@@ -196,7 +196,9 @@ function PMA_DBI_getError($link = NULL) {
}
// Some errors messages cannot be obtained by mysql_error()
if ($error && $error == 2003) {
if ($error && $error == 2002) {
$error = '#' . ((string) $error) . ' - ' . $GLOBALS['strServerNotResponding'] . ' ' . $GLOBALS['strSocketProblem'];
} elseif ($error && $error == 2003) {
$error = '#' . ((string) $error) . ' - ' . $GLOBALS['strServerNotResponding'];
} elseif ($error && defined('PMA_MYSQL_INT_VERSION') && PMA_MYSQL_INT_VERSION >= 40100) {
$error = '#' . ((string) $error) . ' - ' . $error_message;