The MySQL REST Service component supplies a number of status variables, which are described in this section.
Table 7.13 MySQL REST Service Status Variable Summary
| Variable Name | Variable Type | Variable Scope |
|---|---|---|
| mysql_rest_service.current_http_port | Integer | Global |
| mysql_rest_service.current_io_worker_threads | Integer | Global |
| mysql_rest_service.current_tls_cert | String | Global |
| mysql_rest_service.current_tls_cipher | String | Global |
| mysql_rest_service.current_tls_key | String | Global |
| mysql_rest_service.state | Integer | Global |
mysql_rest_service.current_http_portPort bound by the active HTTP listener.
mysql_rest_service.current_tls_certCertificate path loaded by the active TLS context.
mysql_rest_service.current_tls_keyKey path loaded by the active TLS context.
mysql_rest_service.current_tls_cipherActive TLS 1.2 cipher-list policy.
mysql_rest_service.current_io_worker_threadsResolved active IO worker-thread count.
State of the MRS stack. This can be one of the following values:
STOPPED: The component is loaded and the MRS backend is not running.STARTING: Backend startup is in progress.WAITING_FOR_METADATA: Startup is waiting for required MRS metadata and will retry.READY: The embedded MRS backend and HTTP listener are running.STOPPING: Backend startup cancellation or runtime shutdown is in progress.ERROR: Backend startup failed irrecoverably or a running backend terminated unexpectedly. See the MySQL Server error log.