Loading...
MySQL 9.5 Reference Manual 9.5의 25.5.16 ndb_perror — Obtain NDB Error Message Information의 한국어 번역본입니다.
아래의 경우에 피드백에서 신고해주신다면 반영하겠습니다.
감사합니다 :)
ndb_perror는 NDB error code를 기준으로 NDB error에 대한 정보를 보여줍니다. 여기에는 error message, error 유형, 그리고 error가 영구적인(permanent)지 일시적인(temporary)지 여부가 포함됩니다. 이는 더 이상 지원되지 않는 perror의 --ndb에 대한 drop-in replacement로 의도되었습니다.
1ndb_perror [options] error_code
ndb_perror는 실행 중인 NDB Cluster나 어떤 노드(SQL 노드 포함)에 접근할 필요가 없습니다. 특정 NDB error에 대한 정보를 보려면, 다음과 같이 error code를 인자로 사용하여 program을 호출합니다:
1$> ndb_perror 323 2NDB error code 323: Invalid nodegroup id, nodegroup already existing: Permanent error: Application error
error message만 표시하려면, --silent 옵션(축약형 -s)을 사용하여 ndb_perror를 다음과 같이 호출합니다:
1$> ndb_perror -s 323 2Invalid nodegroup id, nodegroup already existing: Permanent error: Application error
perror와 마찬가지로, ndb_perror는 여러 개의 error code를 받을 수 있습니다:
1$> ndb_perror 321 1001 2NDB error code 321: Invalid nodegroup id: Permanent error: Application error 3NDB error code 1001: Illegal connect string
ndb_perror에 대한 추가 program 옵션은 이 절의 뒷부분에서 설명합니다.
ndb_perror는 더 이상 NDB Cluster에서 지원되지 않는 perror --ndb를 대체합니다. NDB error 정보를 얻기 위해 perror에 의존할 수 있는 스크립트 및 기타 애플리케이션에서 대체 작업을 쉽게 하기 위해, ndb_perror는 아무 동작도 하지 않는 자체 “dummy” --ndb 옵션을 지원하며, 이 옵션은 ndb_perror에서 무시됩니다.
다음 표에는 NDB Cluster 프로그램인 ndb_perror에 특화된 모든 옵션이 포함되어 있습니다. 추가 설명은 표 다음에 이어집니다.
| Property | Value |
|---|---|
| Command-Line Format | --defaults-extra-file=path |
| Type | String |
| Default Value | [none] |
global 파일을 읽은 후에 지정된 파일을 읽습니다.
| Property | Value |
|---|---|
| Command-Line Format | --defaults-file=path |
| Type | String |
| Default Value | [none] |
지정된 파일에서만 기본 옵션을 읽습니다.
| Property | Value |
|---|---|
| Command-Line Format | --defaults-group-suffix=string |
| Type | String |
| Default Value | [none] |
concat(group, suffix)인 그룹도 함께 읽습니다.
--help, -?| Property | Value |
|---|---|
| Command-Line Format | --help |
program 도움말 텍스트를 표시하고 종료합니다.
| Property | Value |
|---|---|
| Command-Line Format | --login-path=path |
| Type | String |
| Default Value | [none] |
login 파일에서 지정된 path를 읽습니다.
| Property | Value |
|---|---|
| Command-Line Format | --no-login-paths |
login path 파일에서 옵션을 읽는 것을 건너뜁니다.
| Property | Value |
|---|---|
| Command-Line Format | --ndb |
해당 program의 --ndb 옵션을 사용하는, 이전 버전 perror에 의존하는 애플리케이션과의 호환성을 위한 것입니다. 이 옵션을 ndb_perror와 함께 사용할 경우 아무 동작도 하지 않으며, 무시됩니다.
| Property | Value |
|---|---|
| Command-Line Format | --no-defaults |
login 파일을 제외한 어떤 옵션 파일에서도 기본 옵션을 읽지 않습니다.
| Property | Value |
|---|---|
| Command-Line Format | --print-defaults |
program 인자 목록을 출력하고 종료합니다.
--silent, -s| Property | Value |
|---|---|
| Command-Line Format | --silent |
error message만 표시합니다.
--version, -V| Property | Value |
|---|---|
| Command-Line Format | --version |
program version 정보를 출력하고 종료합니다.
--verbose, -v| Property | Value |
|---|---|
| Command-Line Format | --verbose |
verbose output을 표시합니다; --silent로 비활성화할 수 있습니다.
25.5.15 ndb_move_data — NDB Data Copy Utility
25.5.17 ndb_print_backup_file — Print NDB Backup File Contents