Rechercher dans le manuel MySQL
ndb_setup.py starts the NDB Cluster Auto-Installer and opens the installer's Start page in the default Web browser.
This program is intended to be invoked as a normal user, and
not with the mysql
, system
root
or other administrative account.
This section describes usage of and program options for the command-line tool only. For information about using the Auto-Installer GUI that is spawned when ndb_setup.py is invoked, see The NDB Cluster Auto-Installer (NDB 7.5).
Usage
All platforms:
ndb_setup.py [options]
Additionally, on Windows platforms only:
setup.bat [options]
The following table includes all options that are supported by the NDB Cluster installation and configuration program ndb_setup.py. Additional descriptions follow the table.
Table 22.355 Command-line options for the ndb_setup.py program
Format | Description | Added, Deprecated, or Removed |
---|---|---|
Page that the web browser opens when starting. | All NDB 8.0 releases |
|
File containing list of client certificates allowed to connect to the server | All NDB 8.0 releases |
|
File containing X509 certificate that identifies the server. (Default: cfg.pem) | All NDB 8.0 releases |
|
Python logging module debug level. One of DEBUG, INFO, WARNING (default), ERROR, or CRITICAL. | All NDB 8.0 releases |
|
Print help message | All NDB 8.0 releases |
|
Specify file containing private key (if not included in --cert-file) | All NDB 8.0 releases |
|
Do not open the start page in a browser, merely start the tool | All NDB 8.0 releases |
|
Specify the port used by the web server | All NDB 8.0 releases |
|
Log requests to this file. Use '-' to force logging to stderr instead. | All NDB 8.0 releases |
|
The name of the server to connect with | All NDB 8.0 releases |
|
Use unencrypted (HTTP) client/server connection | All NDB 8.0 releases |
|
Use encrypted (HTTPS) client/server connection | All NDB 8.0 releases |
-
Property Value Command-Line Format --browser-start-page=filename
Type String Default Value index.html
Specify the file to open in the browser as the installation and configuration Start page. The default is
index.html
. -
Property Value Command-Line Format --ca-certs-file=filename
Type File name Default Value [none]
Specify a file containing a list of client certificates which are allowed to connect to the server. The default is an empty string, which means that no client authentication is used.
-
Property Value Command-Line Format --cert-file=filename
Type File name Default Value /usr/share/mysql/mcc/cfg.pem
Specify a file containing an X509 certificate which identifies the server. It is possible for the certificate to be self-signed. The default is
cfg.pem
. -
Property Value Command-Line Format --debug-level=level
Type Enumeration Default Value WARNING
Valid Values WARNING
DEBUG
INFO
ERROR
CRITICAL
Set the Python logging module debug level. This is one of
DEBUG
,INFO
,WARNING
,ERROR
, orCRITICAL
.WARNING
is the default. -
Property Value Command-Line Format --help
Print a help message.
-
Property Value Command-Line Format --key-file=file
Type File name Default Value [none]
Specify a file containing the private key if this is not included in the X509 certificate file (
--cert-file
). The default is an empty string, which means that no such file is used. -
Property Value Command-Line Format --no-browser
Start the installation and configuration tool, but do not open the Start page in a browser.
-
Property Value Command-Line Format --port=#
Type Numeric Default Value 8081
Minimum Value 1
Maximum Value 65535
Set the port used by the web server. The default is 8081.
-
Property Value Command-Line Format --server-log-file=file
Type File name Default Value ndb_setup.log
Valid Values ndb_setup.log
-
(Log to stderr)Log requests to this file. The default is
ndb_setup.log
. To specify logging tostderr
, rather than to a file, use a-
(dash character) for the file name. -
Property Value Command-Line Format --server-name=name
Type String Default Value localhost
Specify the host name or IP address for the browser to use when connecting. The default is
localhost
. -
Property Value Command-Line Format --use-http
Make the browser use HTTP to connect with the server. This means that the connection is unencrypted and not secured in any way.
-
Property Value Command-Line Format --use-https
Make the browser use a secure (HTTPS) connection with the server.
Traduction non disponible
Le manuel MySQL n'est pas encore traduit en français sur l'infobrol. Seule la version anglaise est disponible pour l'instant.
Document créé le 26/06/2006, dernière modification le 26/10/2018
Source du document imprimé : https://www.gaudry.be/mysql-rf-mysql-cluster-programs-ndb-setup-py.html
L'infobrol est un site personnel dont le contenu n'engage que moi. Le texte est mis à disposition sous licence CreativeCommons(BY-NC-SA). Plus d'info sur les conditions d'utilisation et sur l'auteur.
Références
Ces références et liens indiquent des documents consultés lors de la rédaction de cette page, ou qui peuvent apporter un complément d'information, mais les auteurs de ces sources ne peuvent être tenus responsables du contenu de cette page.
L'auteur de ce site est seul responsable de la manière dont sont présentés ici les différents concepts, et des libertés qui sont prises avec les ouvrages de référence. N'oubliez pas que vous devez croiser les informations de sources multiples afin de diminuer les risques d'erreurs.