Spec-Zone .ru
спецификации, руководства, описания, API
|
ndb_setup.py starts the MySQL Cluster Auto-Installer and opens the installer's Start page in the default Web browser.
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 Section 17.2.1, "The MySQL Cluster Auto-Installer".
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 MySQL Cluster installation and configuration program ndb_setup.py. Additional descriptions follow the table.
Table 17.25. ndb_setup.py Options and Variables: MySQL Cluster NDB7.3
Format | Description | Added / Removed |
---|---|---|
Page that the web browser opens when starting. | All MySQL 5.6 based releases |
|
File containing list of client certificates allowed to connect to the server | All MySQL 5.6 based releases |
|
File containing X509 certificate that identifies the server. (Default: cfg.pem) | All MySQL 5.6 based releases |
|
Python logging module debug level. One of DEBUG, INFO, WARNING (default), ERROR, or CRITICAL. | All MySQL 5.6 based releases |
|
Print help message | All MySQL 5.6 based releases |
|
Specify file containing private key (if not included in --cert-file) | All MySQL 5.6 based releases |
|
Do not open the start page in a browser, merely start the tool | All MySQL 5.6 based releases |
|
Specify the port used by the web server | All MySQL 5.6 based releases |
|
|
Log requests to this file. Use '-' to force logging to stderr instead. | All MySQL 5.6 based releases |
The name of the server to connect with | All MySQL 5.6 based releases |
|
|
Use secure (HTTPS) client-server connection | All MySQL 5.6 based releases |
Command-Line Format | --browser-start-page=filename |
||
-s |
|||
Permitted Values | |||
Type | string |
||
Default | index.html |
Specify the file to open in the browser as the installation and configuration Start page. The
default is index.html
.
Command-Line Format | --ca-certs-file=filename |
||
-a |
|||
Permitted Values | |||
Type | file name |
||
Default | [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.
Command-Line Format | --cert-file=filename |
||
-c |
|||
Permitted Values | |||
Type | file name |
||
Default | 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
.
Command-Line Format | --debug-level=level |
||
-d |
|||
Permitted Values | |||
Type | enumeration |
||
Default | WARNING |
||
Valid Values | DEBUG |
||
INFO |
|||
ERROR |
|||
CRITICAL |
Set the Python logging module debug level. This is one of DEBUG
, INFO
, WARNING
, ERROR
, or CRITICAL
. WARNING
is the default.
Command-Line Format | --help |
||
-h |
Print a help message.
Command-Line Format | --key-file=file |
||
-k |
|||
Permitted Values | |||
Type | file name |
||
Default | [none] |
Specify a file containing the private key if this is not included in in the X509 certificate file
(--cert-file
).
The default is an empty string, which means that no such file is used.
Command-Line Format | --no-browser |
||
-n |
Start the installation and configuration tool, but do not open the Start page in a browser.
Command-Line Format | --port=# |
||
-p |
|||
Permitted Values | |||
Type | numeric |
||
Default | 8081 |
||
Range | 1 .. 65535 |
Set the port used by the web server. The default is 8081.
Command-Line Format | --server-log-file=file |
||
o |
|||
Permitted Values | |||
Type | file name |
||
Default | ndb_setup.log |
||
Valid Values | - (Log to stderr) |
Log requests to this file. The default is ndb_setup.log
. To specify
logging to stderr
, rather than to a file, use a -
(dash character) for the file name.
Command-Line Format | --server-name=name |
||
-N |
|||
Permitted Values | |||
Type | string |
||
Default | localhost |
Specify the host name or IP address for the browser to use when connecting. The default is localhost
.
Command-Line Format | --use-https |
||
-S |
Make the browser use a secure (HTTPS) connection with the server.