Unauthorized Access

Last updated: 2021-07-07 10:34:05

    You can enable/disable unauthorized access in the TencentDB for MongoDB console.

    Note:

    Unauthorized access is currently supported only for MongoDB v3.6 and v4.0.

    Directions

    (Optical) Upgrading the kernel version

    Note:

    To enable unauthorized access, the existing instances created before the unauthorized access feature became available need upgrade their kernel versions first.

    1. Log in to the TencentDB for MongoDB console. In the instance list, select a region, click an instance ID, and enter the instance details page.
    2. Click Upgrade to the right of Unauthorized Access in the Basic Info section.
    3. In the pop-up dialog box, click OK.
      Note:

      There is a short disconnection lasting for seconds during the upgrade.

    4. On the instance details page, the instance status changes to "Processing". When the instance status changes to "Running", you can enable unauthorized access for it.

    Enabling unauthorized access

    1. Log in to the TencentDB for MongoDB console. In the instance list, select a region, click an instance ID, and enter the instance details page.
    2. Click Enable to the right of Unauthorized Access in the Basic Info section.
    3. In the pop-up dialog box, click OK.
    4. On the instance details page, when the instance status changes to "Running", you can use the instance with unauthorized access enabled.

    Disabling unauthorized access

    1. Log in to the TencentDB for MongoDB console. In the instance list, select a region, click an instance ID, and enter the instance details page.
    2. Click Disable to the right of Unauthorized Access in the Basic Info section.

    References

    TencentDB for MongoDB can be accessed through MongoDB shell or drivers which support various programming languages. For more information, please see Access Connection.