Rechercher dans le manuel MySQL
ndb_perror shows information about an NDB
error, given its error code. This includes the error message,
the type of error, and whether the error is permanent or
temporary. Added to the MySQL NDB Cluster distribution in NDB
7.6.4, it is intended as a drop-in replacement for
perror --ndb
.
Usage
ndb_perror [options] error_code
ndb_perror does not need to access a running NDB Cluster, or any nodes (including SQL nodes). To view information about a given NDB error, invoke the program, using the error code as an argument, like this:
shell> ndb_perror 323
NDB error code 323: Invalid nodegroup id, nodegroup already existing: Permanent error: Application error
To display only the error message, invoke
ndb_perror with the
--silent
option (short form
-s
), as shown here:
shell> ndb_perror -s 323
Invalid nodegroup id, nodegroup already existing: Permanent error: Application error
Like perror, ndb_perror accepts multiple error codes:
shell> ndb_perror 321 1001
NDB error code 321: Invalid nodegroup id: Permanent error: Application error
NDB error code 1001: Illegal connect string
Additional program options for ndb_perror are described later in this section.
ndb_perror replaces perror
--ndb
, which is deprecated as of NDB 7.6.4 and
subject to removal in a future release of MySQL NDB Cluster. To
make substitution easier in scripts and other applications that
might depend on perror for obtaining NDB
error information, ndb_perror supports its
own “dummy”
--ndb
option, which does
nothing.
The following table includes all options that are specific to the NDB Cluster program ndb_perror. Additional descriptions follow the table.
Table 22.348 Command-line options for the ndb_perror program
Format | Description | Added, Deprecated, or Removed |
---|---|---|
Display help text | All NDB 8.0 releases |
|
For compatibility with applications depending on old versions of perror; does nothing | All NDB 8.0 releases |
|
Show error message only | All NDB 8.0 releases |
|
Print program version information and exit | All NDB 8.0 releases |
|
Verbose output; disable with --silent | All NDB 8.0 releases |
Additional Options
-
Property Value Command-Line Format --help
Type Boolean Default Value TRUE
Display program help text and exit.
-
Property Value Command-Line Format --ndb
Type Boolean Default Value TRUE
For compatibility with applications depending on old versions of perror that use that program's
--ndb
option. The option when used with ndb_perror does nothing, and is ignored by it. -
Property Value Command-Line Format --silent
Type Boolean Default Value TRUE
Show error message only.
-
Property Value Command-Line Format --version
Type Boolean Default Value TRUE
Print program version information and exit.
-
Property Value Command-Line Format --verbose
Type Boolean Default Value TRUE
Verbose output; disable with
--silent
.
Deutsche Übersetzung
Sie haben gebeten, diese Seite auf Deutsch zu besuchen. Momentan ist nur die Oberfläche übersetzt, aber noch nicht der gesamte Inhalt.Wenn Sie mir bei Übersetzungen helfen wollen, ist Ihr Beitrag willkommen. Alles, was Sie tun müssen, ist, sich auf der Website zu registrieren und mir eine Nachricht zu schicken, in der Sie gebeten werden, Sie der Gruppe der Übersetzer hinzuzufügen, die Ihnen die Möglichkeit gibt, die gewünschten Seiten zu übersetzen. Ein Link am Ende jeder übersetzten Seite zeigt an, dass Sie der Übersetzer sind und einen Link zu Ihrem Profil haben.
Vielen Dank im Voraus.
Dokument erstellt 26/06/2006, zuletzt geändert 26/10/2018
Quelle des gedruckten Dokuments:https://www.gaudry.be/de//mysql-rf-mysql-cluster-programs-ndb-perror.html
Die Infobro ist eine persönliche Seite, deren Inhalt in meiner alleinigen Verantwortung liegt. Der Text ist unter der CreativeCommons-Lizenz (BY-NC-SA) verfügbar. Weitere Informationen auf die Nutzungsbedingungen und dem Autor.
Referenzen
Diese Verweise und Links verweisen auf Dokumente, die während des Schreibens dieser Seite konsultiert wurden, oder die zusätzliche Informationen liefern können, aber die Autoren dieser Quellen können nicht für den Inhalt dieser Seite verantwortlich gemacht werden.
Der Autor Diese Website ist allein dafür verantwortlich, wie die verschiedenen Konzepte und Freiheiten, die mit den Nachschlagewerken gemacht werden, hier dargestellt werden. Denken Sie daran, dass Sie mehrere Quellinformationen austauschen müssen, um das Risiko von Fehlern zu reduzieren.