diff --git a/pages/public_cloud/public_cloud_databases/mongodb_02_manage_control_panel/guide.de-de.md b/pages/public_cloud/public_cloud_databases/mongodb_02_manage_control_panel/guide.de-de.md index b0a12335e94..36caede2383 100644 --- a/pages/public_cloud/public_cloud_databases/mongodb_02_manage_control_panel/guide.de-de.md +++ b/pages/public_cloud/public_cloud_databases/mongodb_02_manage_control_panel/guide.de-de.md @@ -1,7 +1,7 @@ --- title: MongoDB - Configure your MongoDB instance to accept incoming connections excerpt: Find out how to configure your MongoDB instance to accept incoming connections -updated: 2023-12-06 +updated: 2025-10-08 --- ## Objective @@ -30,13 +30,13 @@ Select the `Users`{.action} tab. Verify that you have a user with sufficient rig We provide official MongoDB built-in roles. Please read the [official MongoDB documentation](https://docs.mongodb.com/manual/reference/built-in-roles/) to select the right roles for your use case. -In our example, we will create a user called `foo` with the role `userAdmin` on the `bar` database and the role `readWriteAnyDatabase` on any database as its name implies: +In our example, we will create a new user called `foo` with the role `userAdmin` on the `bar` database and the role `readWriteAnyDatabase` on any database as its name implies: -![User Creation](images/mongodb_02_manage_control_panel-20230313174020.png){.thumbnail} +![User Creation](images/mongodb_02_manage_control_panel-add_user.png){.thumbnail} -Once created or updated, note the password then after a few seconds check to verify the user is ready and with the "Enabled" status in the OVHcloud Control Panel. +After a few seconds the user is ready with the "Enabled" status, you can then reset and note its password. -![User ready](images/mongodb_02_manage_control_panel-20230313174249.png){.thumbnail} +![User ready](images/mongodb_02_manage_control_panel-reset_password.png){.thumbnail} #### Step 2: Authorise incoming connections from the MongoDB client @@ -46,7 +46,7 @@ This way we can help prevent intrusive connection attempts. Click to authorise a new IP. In our case we will enter 109.190.200.59: -![Add an IP](images/mongodb_02_manage_control_panel-20230313175157.png){.thumbnail} +![Add an IP](images/mongodb_02_manage_control_panel-add_ip.png){.thumbnail} > [!primary] > @@ -55,14 +55,14 @@ Click to authorise a new IP. In our case we will enter 109.190.200.59: ### Get your connection information (URI) -Select the `General Information`{.action} tab. In the **Login Information** section, copy the Service URI. +Select the `Dashboard`{.action} tab. In the **Connection Information** section, copy the Service URI. You can specify the MongoDB connection string using either: - *Service -> mongoDB* for the Standard Connection String format **(soon deprecated)**. - *Service -> mongodbSrv* for the DNS Seed List Connection String format. -![MongoDB General Information](images/mongodb_02_manage_control_panel-20230313175545.png){.thumbnail} +![MongoDB General Information](images/mongodb_02_manage_control_panel-copy_uri.png){.thumbnail} > [!primary] > @@ -86,13 +86,9 @@ You can specify the MongoDB connection string using either: > mongodbSrv >> It should be similar to this: >> ``` ->> mongodb+srv://:@mongodb-d5674315-o2626ab53.database.cloud.ovh.net/admin?replicaSet=replicaset +>> mongodb+srv://:@/admin?replicaSet=replicaset&tls=true >> ``` -Select the `Users`{.action} tab to get the username or reset a user password. - -![Users tab](images/mongodb_02_manage_control_panel-20230313175812.png){.thumbnail} - ## Go further [MongoDB capabilities](/pages/public_cloud/public_cloud_databases/mongodb_01_concept_capabilities) diff --git a/pages/public_cloud/public_cloud_databases/mongodb_02_manage_control_panel/guide.en-asia.md b/pages/public_cloud/public_cloud_databases/mongodb_02_manage_control_panel/guide.en-asia.md index b0a12335e94..36caede2383 100644 --- a/pages/public_cloud/public_cloud_databases/mongodb_02_manage_control_panel/guide.en-asia.md +++ b/pages/public_cloud/public_cloud_databases/mongodb_02_manage_control_panel/guide.en-asia.md @@ -1,7 +1,7 @@ --- title: MongoDB - Configure your MongoDB instance to accept incoming connections excerpt: Find out how to configure your MongoDB instance to accept incoming connections -updated: 2023-12-06 +updated: 2025-10-08 --- ## Objective @@ -30,13 +30,13 @@ Select the `Users`{.action} tab. Verify that you have a user with sufficient rig We provide official MongoDB built-in roles. Please read the [official MongoDB documentation](https://docs.mongodb.com/manual/reference/built-in-roles/) to select the right roles for your use case. -In our example, we will create a user called `foo` with the role `userAdmin` on the `bar` database and the role `readWriteAnyDatabase` on any database as its name implies: +In our example, we will create a new user called `foo` with the role `userAdmin` on the `bar` database and the role `readWriteAnyDatabase` on any database as its name implies: -![User Creation](images/mongodb_02_manage_control_panel-20230313174020.png){.thumbnail} +![User Creation](images/mongodb_02_manage_control_panel-add_user.png){.thumbnail} -Once created or updated, note the password then after a few seconds check to verify the user is ready and with the "Enabled" status in the OVHcloud Control Panel. +After a few seconds the user is ready with the "Enabled" status, you can then reset and note its password. -![User ready](images/mongodb_02_manage_control_panel-20230313174249.png){.thumbnail} +![User ready](images/mongodb_02_manage_control_panel-reset_password.png){.thumbnail} #### Step 2: Authorise incoming connections from the MongoDB client @@ -46,7 +46,7 @@ This way we can help prevent intrusive connection attempts. Click to authorise a new IP. In our case we will enter 109.190.200.59: -![Add an IP](images/mongodb_02_manage_control_panel-20230313175157.png){.thumbnail} +![Add an IP](images/mongodb_02_manage_control_panel-add_ip.png){.thumbnail} > [!primary] > @@ -55,14 +55,14 @@ Click to authorise a new IP. In our case we will enter 109.190.200.59: ### Get your connection information (URI) -Select the `General Information`{.action} tab. In the **Login Information** section, copy the Service URI. +Select the `Dashboard`{.action} tab. In the **Connection Information** section, copy the Service URI. You can specify the MongoDB connection string using either: - *Service -> mongoDB* for the Standard Connection String format **(soon deprecated)**. - *Service -> mongodbSrv* for the DNS Seed List Connection String format. -![MongoDB General Information](images/mongodb_02_manage_control_panel-20230313175545.png){.thumbnail} +![MongoDB General Information](images/mongodb_02_manage_control_panel-copy_uri.png){.thumbnail} > [!primary] > @@ -86,13 +86,9 @@ You can specify the MongoDB connection string using either: > mongodbSrv >> It should be similar to this: >> ``` ->> mongodb+srv://:@mongodb-d5674315-o2626ab53.database.cloud.ovh.net/admin?replicaSet=replicaset +>> mongodb+srv://:@/admin?replicaSet=replicaset&tls=true >> ``` -Select the `Users`{.action} tab to get the username or reset a user password. - -![Users tab](images/mongodb_02_manage_control_panel-20230313175812.png){.thumbnail} - ## Go further [MongoDB capabilities](/pages/public_cloud/public_cloud_databases/mongodb_01_concept_capabilities) diff --git a/pages/public_cloud/public_cloud_databases/mongodb_02_manage_control_panel/guide.en-au.md b/pages/public_cloud/public_cloud_databases/mongodb_02_manage_control_panel/guide.en-au.md index b0a12335e94..36caede2383 100644 --- a/pages/public_cloud/public_cloud_databases/mongodb_02_manage_control_panel/guide.en-au.md +++ b/pages/public_cloud/public_cloud_databases/mongodb_02_manage_control_panel/guide.en-au.md @@ -1,7 +1,7 @@ --- title: MongoDB - Configure your MongoDB instance to accept incoming connections excerpt: Find out how to configure your MongoDB instance to accept incoming connections -updated: 2023-12-06 +updated: 2025-10-08 --- ## Objective @@ -30,13 +30,13 @@ Select the `Users`{.action} tab. Verify that you have a user with sufficient rig We provide official MongoDB built-in roles. Please read the [official MongoDB documentation](https://docs.mongodb.com/manual/reference/built-in-roles/) to select the right roles for your use case. -In our example, we will create a user called `foo` with the role `userAdmin` on the `bar` database and the role `readWriteAnyDatabase` on any database as its name implies: +In our example, we will create a new user called `foo` with the role `userAdmin` on the `bar` database and the role `readWriteAnyDatabase` on any database as its name implies: -![User Creation](images/mongodb_02_manage_control_panel-20230313174020.png){.thumbnail} +![User Creation](images/mongodb_02_manage_control_panel-add_user.png){.thumbnail} -Once created or updated, note the password then after a few seconds check to verify the user is ready and with the "Enabled" status in the OVHcloud Control Panel. +After a few seconds the user is ready with the "Enabled" status, you can then reset and note its password. -![User ready](images/mongodb_02_manage_control_panel-20230313174249.png){.thumbnail} +![User ready](images/mongodb_02_manage_control_panel-reset_password.png){.thumbnail} #### Step 2: Authorise incoming connections from the MongoDB client @@ -46,7 +46,7 @@ This way we can help prevent intrusive connection attempts. Click to authorise a new IP. In our case we will enter 109.190.200.59: -![Add an IP](images/mongodb_02_manage_control_panel-20230313175157.png){.thumbnail} +![Add an IP](images/mongodb_02_manage_control_panel-add_ip.png){.thumbnail} > [!primary] > @@ -55,14 +55,14 @@ Click to authorise a new IP. In our case we will enter 109.190.200.59: ### Get your connection information (URI) -Select the `General Information`{.action} tab. In the **Login Information** section, copy the Service URI. +Select the `Dashboard`{.action} tab. In the **Connection Information** section, copy the Service URI. You can specify the MongoDB connection string using either: - *Service -> mongoDB* for the Standard Connection String format **(soon deprecated)**. - *Service -> mongodbSrv* for the DNS Seed List Connection String format. -![MongoDB General Information](images/mongodb_02_manage_control_panel-20230313175545.png){.thumbnail} +![MongoDB General Information](images/mongodb_02_manage_control_panel-copy_uri.png){.thumbnail} > [!primary] > @@ -86,13 +86,9 @@ You can specify the MongoDB connection string using either: > mongodbSrv >> It should be similar to this: >> ``` ->> mongodb+srv://:@mongodb-d5674315-o2626ab53.database.cloud.ovh.net/admin?replicaSet=replicaset +>> mongodb+srv://:@/admin?replicaSet=replicaset&tls=true >> ``` -Select the `Users`{.action} tab to get the username or reset a user password. - -![Users tab](images/mongodb_02_manage_control_panel-20230313175812.png){.thumbnail} - ## Go further [MongoDB capabilities](/pages/public_cloud/public_cloud_databases/mongodb_01_concept_capabilities) diff --git a/pages/public_cloud/public_cloud_databases/mongodb_02_manage_control_panel/guide.en-ca.md b/pages/public_cloud/public_cloud_databases/mongodb_02_manage_control_panel/guide.en-ca.md index b0a12335e94..36caede2383 100644 --- a/pages/public_cloud/public_cloud_databases/mongodb_02_manage_control_panel/guide.en-ca.md +++ b/pages/public_cloud/public_cloud_databases/mongodb_02_manage_control_panel/guide.en-ca.md @@ -1,7 +1,7 @@ --- title: MongoDB - Configure your MongoDB instance to accept incoming connections excerpt: Find out how to configure your MongoDB instance to accept incoming connections -updated: 2023-12-06 +updated: 2025-10-08 --- ## Objective @@ -30,13 +30,13 @@ Select the `Users`{.action} tab. Verify that you have a user with sufficient rig We provide official MongoDB built-in roles. Please read the [official MongoDB documentation](https://docs.mongodb.com/manual/reference/built-in-roles/) to select the right roles for your use case. -In our example, we will create a user called `foo` with the role `userAdmin` on the `bar` database and the role `readWriteAnyDatabase` on any database as its name implies: +In our example, we will create a new user called `foo` with the role `userAdmin` on the `bar` database and the role `readWriteAnyDatabase` on any database as its name implies: -![User Creation](images/mongodb_02_manage_control_panel-20230313174020.png){.thumbnail} +![User Creation](images/mongodb_02_manage_control_panel-add_user.png){.thumbnail} -Once created or updated, note the password then after a few seconds check to verify the user is ready and with the "Enabled" status in the OVHcloud Control Panel. +After a few seconds the user is ready with the "Enabled" status, you can then reset and note its password. -![User ready](images/mongodb_02_manage_control_panel-20230313174249.png){.thumbnail} +![User ready](images/mongodb_02_manage_control_panel-reset_password.png){.thumbnail} #### Step 2: Authorise incoming connections from the MongoDB client @@ -46,7 +46,7 @@ This way we can help prevent intrusive connection attempts. Click to authorise a new IP. In our case we will enter 109.190.200.59: -![Add an IP](images/mongodb_02_manage_control_panel-20230313175157.png){.thumbnail} +![Add an IP](images/mongodb_02_manage_control_panel-add_ip.png){.thumbnail} > [!primary] > @@ -55,14 +55,14 @@ Click to authorise a new IP. In our case we will enter 109.190.200.59: ### Get your connection information (URI) -Select the `General Information`{.action} tab. In the **Login Information** section, copy the Service URI. +Select the `Dashboard`{.action} tab. In the **Connection Information** section, copy the Service URI. You can specify the MongoDB connection string using either: - *Service -> mongoDB* for the Standard Connection String format **(soon deprecated)**. - *Service -> mongodbSrv* for the DNS Seed List Connection String format. -![MongoDB General Information](images/mongodb_02_manage_control_panel-20230313175545.png){.thumbnail} +![MongoDB General Information](images/mongodb_02_manage_control_panel-copy_uri.png){.thumbnail} > [!primary] > @@ -86,13 +86,9 @@ You can specify the MongoDB connection string using either: > mongodbSrv >> It should be similar to this: >> ``` ->> mongodb+srv://:@mongodb-d5674315-o2626ab53.database.cloud.ovh.net/admin?replicaSet=replicaset +>> mongodb+srv://:@/admin?replicaSet=replicaset&tls=true >> ``` -Select the `Users`{.action} tab to get the username or reset a user password. - -![Users tab](images/mongodb_02_manage_control_panel-20230313175812.png){.thumbnail} - ## Go further [MongoDB capabilities](/pages/public_cloud/public_cloud_databases/mongodb_01_concept_capabilities) diff --git a/pages/public_cloud/public_cloud_databases/mongodb_02_manage_control_panel/guide.en-gb.md b/pages/public_cloud/public_cloud_databases/mongodb_02_manage_control_panel/guide.en-gb.md index e038d52d708..36caede2383 100644 --- a/pages/public_cloud/public_cloud_databases/mongodb_02_manage_control_panel/guide.en-gb.md +++ b/pages/public_cloud/public_cloud_databases/mongodb_02_manage_control_panel/guide.en-gb.md @@ -1,7 +1,7 @@ --- title: MongoDB - Configure your MongoDB instance to accept incoming connections excerpt: Find out how to configure your MongoDB instance to accept incoming connections -updated: 2023-12-06 +updated: 2025-10-08 --- ## Objective @@ -32,11 +32,11 @@ We provide official MongoDB built-in roles. Please read the [official MongoDB do In our example, we will create a new user called `foo` with the role `userAdmin` on the `bar` database and the role `readWriteAnyDatabase` on any database as its name implies: -![User Creation](images/mongodb_02_manage_control_panel-20230313174020.png){.thumbnail} +![User Creation](images/mongodb_02_manage_control_panel-add_user.png){.thumbnail} -Once created or updated, note the password then after a few seconds check to verify the user is ready and with the "Enabled" status in the OVHcloud Control Panel. +After a few seconds the user is ready with the "Enabled" status, you can then reset and note its password. -![User ready](images/mongodb_02_manage_control_panel-20230313174249.png){.thumbnail} +![User ready](images/mongodb_02_manage_control_panel-reset_password.png){.thumbnail} #### Step 2: Authorise incoming connections from the MongoDB client @@ -46,7 +46,7 @@ This way we can help prevent intrusive connection attempts. Click to authorise a new IP. In our case we will enter 109.190.200.59: -![Add an IP](images/mongodb_02_manage_control_panel-20230313175157.png){.thumbnail} +![Add an IP](images/mongodb_02_manage_control_panel-add_ip.png){.thumbnail} > [!primary] > @@ -55,14 +55,14 @@ Click to authorise a new IP. In our case we will enter 109.190.200.59: ### Get your connection information (URI) -Select the `General Information`{.action} tab. In the **Login Information** section, copy the Service URI. +Select the `Dashboard`{.action} tab. In the **Connection Information** section, copy the Service URI. You can specify the MongoDB connection string using either: - *Service -> mongoDB* for the Standard Connection String format **(soon deprecated)**. - *Service -> mongodbSrv* for the DNS Seed List Connection String format. -![MongoDB General Information](images/mongodb_02_manage_control_panel-20230313175545.png){.thumbnail} +![MongoDB General Information](images/mongodb_02_manage_control_panel-copy_uri.png){.thumbnail} > [!primary] > @@ -86,13 +86,9 @@ You can specify the MongoDB connection string using either: > mongodbSrv >> It should be similar to this: >> ``` ->> mongodb+srv://:@mongodb-d5674315-o2626ab53.database.cloud.ovh.net/admin?replicaSet=replicaset +>> mongodb+srv://:@/admin?replicaSet=replicaset&tls=true >> ``` -Select the `Users`{.action} tab to get the username or reset a user password. - -![Users tab](images/mongodb_02_manage_control_panel-20230313175812.png){.thumbnail} - ## Go further [MongoDB capabilities](/pages/public_cloud/public_cloud_databases/mongodb_01_concept_capabilities) diff --git a/pages/public_cloud/public_cloud_databases/mongodb_02_manage_control_panel/guide.en-ie.md b/pages/public_cloud/public_cloud_databases/mongodb_02_manage_control_panel/guide.en-ie.md index b0a12335e94..36caede2383 100644 --- a/pages/public_cloud/public_cloud_databases/mongodb_02_manage_control_panel/guide.en-ie.md +++ b/pages/public_cloud/public_cloud_databases/mongodb_02_manage_control_panel/guide.en-ie.md @@ -1,7 +1,7 @@ --- title: MongoDB - Configure your MongoDB instance to accept incoming connections excerpt: Find out how to configure your MongoDB instance to accept incoming connections -updated: 2023-12-06 +updated: 2025-10-08 --- ## Objective @@ -30,13 +30,13 @@ Select the `Users`{.action} tab. Verify that you have a user with sufficient rig We provide official MongoDB built-in roles. Please read the [official MongoDB documentation](https://docs.mongodb.com/manual/reference/built-in-roles/) to select the right roles for your use case. -In our example, we will create a user called `foo` with the role `userAdmin` on the `bar` database and the role `readWriteAnyDatabase` on any database as its name implies: +In our example, we will create a new user called `foo` with the role `userAdmin` on the `bar` database and the role `readWriteAnyDatabase` on any database as its name implies: -![User Creation](images/mongodb_02_manage_control_panel-20230313174020.png){.thumbnail} +![User Creation](images/mongodb_02_manage_control_panel-add_user.png){.thumbnail} -Once created or updated, note the password then after a few seconds check to verify the user is ready and with the "Enabled" status in the OVHcloud Control Panel. +After a few seconds the user is ready with the "Enabled" status, you can then reset and note its password. -![User ready](images/mongodb_02_manage_control_panel-20230313174249.png){.thumbnail} +![User ready](images/mongodb_02_manage_control_panel-reset_password.png){.thumbnail} #### Step 2: Authorise incoming connections from the MongoDB client @@ -46,7 +46,7 @@ This way we can help prevent intrusive connection attempts. Click to authorise a new IP. In our case we will enter 109.190.200.59: -![Add an IP](images/mongodb_02_manage_control_panel-20230313175157.png){.thumbnail} +![Add an IP](images/mongodb_02_manage_control_panel-add_ip.png){.thumbnail} > [!primary] > @@ -55,14 +55,14 @@ Click to authorise a new IP. In our case we will enter 109.190.200.59: ### Get your connection information (URI) -Select the `General Information`{.action} tab. In the **Login Information** section, copy the Service URI. +Select the `Dashboard`{.action} tab. In the **Connection Information** section, copy the Service URI. You can specify the MongoDB connection string using either: - *Service -> mongoDB* for the Standard Connection String format **(soon deprecated)**. - *Service -> mongodbSrv* for the DNS Seed List Connection String format. -![MongoDB General Information](images/mongodb_02_manage_control_panel-20230313175545.png){.thumbnail} +![MongoDB General Information](images/mongodb_02_manage_control_panel-copy_uri.png){.thumbnail} > [!primary] > @@ -86,13 +86,9 @@ You can specify the MongoDB connection string using either: > mongodbSrv >> It should be similar to this: >> ``` ->> mongodb+srv://:@mongodb-d5674315-o2626ab53.database.cloud.ovh.net/admin?replicaSet=replicaset +>> mongodb+srv://:@/admin?replicaSet=replicaset&tls=true >> ``` -Select the `Users`{.action} tab to get the username or reset a user password. - -![Users tab](images/mongodb_02_manage_control_panel-20230313175812.png){.thumbnail} - ## Go further [MongoDB capabilities](/pages/public_cloud/public_cloud_databases/mongodb_01_concept_capabilities) diff --git a/pages/public_cloud/public_cloud_databases/mongodb_02_manage_control_panel/guide.en-sg.md b/pages/public_cloud/public_cloud_databases/mongodb_02_manage_control_panel/guide.en-sg.md index b0a12335e94..36caede2383 100644 --- a/pages/public_cloud/public_cloud_databases/mongodb_02_manage_control_panel/guide.en-sg.md +++ b/pages/public_cloud/public_cloud_databases/mongodb_02_manage_control_panel/guide.en-sg.md @@ -1,7 +1,7 @@ --- title: MongoDB - Configure your MongoDB instance to accept incoming connections excerpt: Find out how to configure your MongoDB instance to accept incoming connections -updated: 2023-12-06 +updated: 2025-10-08 --- ## Objective @@ -30,13 +30,13 @@ Select the `Users`{.action} tab. Verify that you have a user with sufficient rig We provide official MongoDB built-in roles. Please read the [official MongoDB documentation](https://docs.mongodb.com/manual/reference/built-in-roles/) to select the right roles for your use case. -In our example, we will create a user called `foo` with the role `userAdmin` on the `bar` database and the role `readWriteAnyDatabase` on any database as its name implies: +In our example, we will create a new user called `foo` with the role `userAdmin` on the `bar` database and the role `readWriteAnyDatabase` on any database as its name implies: -![User Creation](images/mongodb_02_manage_control_panel-20230313174020.png){.thumbnail} +![User Creation](images/mongodb_02_manage_control_panel-add_user.png){.thumbnail} -Once created or updated, note the password then after a few seconds check to verify the user is ready and with the "Enabled" status in the OVHcloud Control Panel. +After a few seconds the user is ready with the "Enabled" status, you can then reset and note its password. -![User ready](images/mongodb_02_manage_control_panel-20230313174249.png){.thumbnail} +![User ready](images/mongodb_02_manage_control_panel-reset_password.png){.thumbnail} #### Step 2: Authorise incoming connections from the MongoDB client @@ -46,7 +46,7 @@ This way we can help prevent intrusive connection attempts. Click to authorise a new IP. In our case we will enter 109.190.200.59: -![Add an IP](images/mongodb_02_manage_control_panel-20230313175157.png){.thumbnail} +![Add an IP](images/mongodb_02_manage_control_panel-add_ip.png){.thumbnail} > [!primary] > @@ -55,14 +55,14 @@ Click to authorise a new IP. In our case we will enter 109.190.200.59: ### Get your connection information (URI) -Select the `General Information`{.action} tab. In the **Login Information** section, copy the Service URI. +Select the `Dashboard`{.action} tab. In the **Connection Information** section, copy the Service URI. You can specify the MongoDB connection string using either: - *Service -> mongoDB* for the Standard Connection String format **(soon deprecated)**. - *Service -> mongodbSrv* for the DNS Seed List Connection String format. -![MongoDB General Information](images/mongodb_02_manage_control_panel-20230313175545.png){.thumbnail} +![MongoDB General Information](images/mongodb_02_manage_control_panel-copy_uri.png){.thumbnail} > [!primary] > @@ -86,13 +86,9 @@ You can specify the MongoDB connection string using either: > mongodbSrv >> It should be similar to this: >> ``` ->> mongodb+srv://:@mongodb-d5674315-o2626ab53.database.cloud.ovh.net/admin?replicaSet=replicaset +>> mongodb+srv://:@/admin?replicaSet=replicaset&tls=true >> ``` -Select the `Users`{.action} tab to get the username or reset a user password. - -![Users tab](images/mongodb_02_manage_control_panel-20230313175812.png){.thumbnail} - ## Go further [MongoDB capabilities](/pages/public_cloud/public_cloud_databases/mongodb_01_concept_capabilities) diff --git a/pages/public_cloud/public_cloud_databases/mongodb_02_manage_control_panel/guide.en-us.md b/pages/public_cloud/public_cloud_databases/mongodb_02_manage_control_panel/guide.en-us.md index b0a12335e94..36caede2383 100644 --- a/pages/public_cloud/public_cloud_databases/mongodb_02_manage_control_panel/guide.en-us.md +++ b/pages/public_cloud/public_cloud_databases/mongodb_02_manage_control_panel/guide.en-us.md @@ -1,7 +1,7 @@ --- title: MongoDB - Configure your MongoDB instance to accept incoming connections excerpt: Find out how to configure your MongoDB instance to accept incoming connections -updated: 2023-12-06 +updated: 2025-10-08 --- ## Objective @@ -30,13 +30,13 @@ Select the `Users`{.action} tab. Verify that you have a user with sufficient rig We provide official MongoDB built-in roles. Please read the [official MongoDB documentation](https://docs.mongodb.com/manual/reference/built-in-roles/) to select the right roles for your use case. -In our example, we will create a user called `foo` with the role `userAdmin` on the `bar` database and the role `readWriteAnyDatabase` on any database as its name implies: +In our example, we will create a new user called `foo` with the role `userAdmin` on the `bar` database and the role `readWriteAnyDatabase` on any database as its name implies: -![User Creation](images/mongodb_02_manage_control_panel-20230313174020.png){.thumbnail} +![User Creation](images/mongodb_02_manage_control_panel-add_user.png){.thumbnail} -Once created or updated, note the password then after a few seconds check to verify the user is ready and with the "Enabled" status in the OVHcloud Control Panel. +After a few seconds the user is ready with the "Enabled" status, you can then reset and note its password. -![User ready](images/mongodb_02_manage_control_panel-20230313174249.png){.thumbnail} +![User ready](images/mongodb_02_manage_control_panel-reset_password.png){.thumbnail} #### Step 2: Authorise incoming connections from the MongoDB client @@ -46,7 +46,7 @@ This way we can help prevent intrusive connection attempts. Click to authorise a new IP. In our case we will enter 109.190.200.59: -![Add an IP](images/mongodb_02_manage_control_panel-20230313175157.png){.thumbnail} +![Add an IP](images/mongodb_02_manage_control_panel-add_ip.png){.thumbnail} > [!primary] > @@ -55,14 +55,14 @@ Click to authorise a new IP. In our case we will enter 109.190.200.59: ### Get your connection information (URI) -Select the `General Information`{.action} tab. In the **Login Information** section, copy the Service URI. +Select the `Dashboard`{.action} tab. In the **Connection Information** section, copy the Service URI. You can specify the MongoDB connection string using either: - *Service -> mongoDB* for the Standard Connection String format **(soon deprecated)**. - *Service -> mongodbSrv* for the DNS Seed List Connection String format. -![MongoDB General Information](images/mongodb_02_manage_control_panel-20230313175545.png){.thumbnail} +![MongoDB General Information](images/mongodb_02_manage_control_panel-copy_uri.png){.thumbnail} > [!primary] > @@ -86,13 +86,9 @@ You can specify the MongoDB connection string using either: > mongodbSrv >> It should be similar to this: >> ``` ->> mongodb+srv://:@mongodb-d5674315-o2626ab53.database.cloud.ovh.net/admin?replicaSet=replicaset +>> mongodb+srv://:@/admin?replicaSet=replicaset&tls=true >> ``` -Select the `Users`{.action} tab to get the username or reset a user password. - -![Users tab](images/mongodb_02_manage_control_panel-20230313175812.png){.thumbnail} - ## Go further [MongoDB capabilities](/pages/public_cloud/public_cloud_databases/mongodb_01_concept_capabilities) diff --git a/pages/public_cloud/public_cloud_databases/mongodb_02_manage_control_panel/guide.es-es.md b/pages/public_cloud/public_cloud_databases/mongodb_02_manage_control_panel/guide.es-es.md index b0a12335e94..36caede2383 100644 --- a/pages/public_cloud/public_cloud_databases/mongodb_02_manage_control_panel/guide.es-es.md +++ b/pages/public_cloud/public_cloud_databases/mongodb_02_manage_control_panel/guide.es-es.md @@ -1,7 +1,7 @@ --- title: MongoDB - Configure your MongoDB instance to accept incoming connections excerpt: Find out how to configure your MongoDB instance to accept incoming connections -updated: 2023-12-06 +updated: 2025-10-08 --- ## Objective @@ -30,13 +30,13 @@ Select the `Users`{.action} tab. Verify that you have a user with sufficient rig We provide official MongoDB built-in roles. Please read the [official MongoDB documentation](https://docs.mongodb.com/manual/reference/built-in-roles/) to select the right roles for your use case. -In our example, we will create a user called `foo` with the role `userAdmin` on the `bar` database and the role `readWriteAnyDatabase` on any database as its name implies: +In our example, we will create a new user called `foo` with the role `userAdmin` on the `bar` database and the role `readWriteAnyDatabase` on any database as its name implies: -![User Creation](images/mongodb_02_manage_control_panel-20230313174020.png){.thumbnail} +![User Creation](images/mongodb_02_manage_control_panel-add_user.png){.thumbnail} -Once created or updated, note the password then after a few seconds check to verify the user is ready and with the "Enabled" status in the OVHcloud Control Panel. +After a few seconds the user is ready with the "Enabled" status, you can then reset and note its password. -![User ready](images/mongodb_02_manage_control_panel-20230313174249.png){.thumbnail} +![User ready](images/mongodb_02_manage_control_panel-reset_password.png){.thumbnail} #### Step 2: Authorise incoming connections from the MongoDB client @@ -46,7 +46,7 @@ This way we can help prevent intrusive connection attempts. Click to authorise a new IP. In our case we will enter 109.190.200.59: -![Add an IP](images/mongodb_02_manage_control_panel-20230313175157.png){.thumbnail} +![Add an IP](images/mongodb_02_manage_control_panel-add_ip.png){.thumbnail} > [!primary] > @@ -55,14 +55,14 @@ Click to authorise a new IP. In our case we will enter 109.190.200.59: ### Get your connection information (URI) -Select the `General Information`{.action} tab. In the **Login Information** section, copy the Service URI. +Select the `Dashboard`{.action} tab. In the **Connection Information** section, copy the Service URI. You can specify the MongoDB connection string using either: - *Service -> mongoDB* for the Standard Connection String format **(soon deprecated)**. - *Service -> mongodbSrv* for the DNS Seed List Connection String format. -![MongoDB General Information](images/mongodb_02_manage_control_panel-20230313175545.png){.thumbnail} +![MongoDB General Information](images/mongodb_02_manage_control_panel-copy_uri.png){.thumbnail} > [!primary] > @@ -86,13 +86,9 @@ You can specify the MongoDB connection string using either: > mongodbSrv >> It should be similar to this: >> ``` ->> mongodb+srv://:@mongodb-d5674315-o2626ab53.database.cloud.ovh.net/admin?replicaSet=replicaset +>> mongodb+srv://:@/admin?replicaSet=replicaset&tls=true >> ``` -Select the `Users`{.action} tab to get the username or reset a user password. - -![Users tab](images/mongodb_02_manage_control_panel-20230313175812.png){.thumbnail} - ## Go further [MongoDB capabilities](/pages/public_cloud/public_cloud_databases/mongodb_01_concept_capabilities) diff --git a/pages/public_cloud/public_cloud_databases/mongodb_02_manage_control_panel/guide.es-us.md b/pages/public_cloud/public_cloud_databases/mongodb_02_manage_control_panel/guide.es-us.md index b0a12335e94..36caede2383 100644 --- a/pages/public_cloud/public_cloud_databases/mongodb_02_manage_control_panel/guide.es-us.md +++ b/pages/public_cloud/public_cloud_databases/mongodb_02_manage_control_panel/guide.es-us.md @@ -1,7 +1,7 @@ --- title: MongoDB - Configure your MongoDB instance to accept incoming connections excerpt: Find out how to configure your MongoDB instance to accept incoming connections -updated: 2023-12-06 +updated: 2025-10-08 --- ## Objective @@ -30,13 +30,13 @@ Select the `Users`{.action} tab. Verify that you have a user with sufficient rig We provide official MongoDB built-in roles. Please read the [official MongoDB documentation](https://docs.mongodb.com/manual/reference/built-in-roles/) to select the right roles for your use case. -In our example, we will create a user called `foo` with the role `userAdmin` on the `bar` database and the role `readWriteAnyDatabase` on any database as its name implies: +In our example, we will create a new user called `foo` with the role `userAdmin` on the `bar` database and the role `readWriteAnyDatabase` on any database as its name implies: -![User Creation](images/mongodb_02_manage_control_panel-20230313174020.png){.thumbnail} +![User Creation](images/mongodb_02_manage_control_panel-add_user.png){.thumbnail} -Once created or updated, note the password then after a few seconds check to verify the user is ready and with the "Enabled" status in the OVHcloud Control Panel. +After a few seconds the user is ready with the "Enabled" status, you can then reset and note its password. -![User ready](images/mongodb_02_manage_control_panel-20230313174249.png){.thumbnail} +![User ready](images/mongodb_02_manage_control_panel-reset_password.png){.thumbnail} #### Step 2: Authorise incoming connections from the MongoDB client @@ -46,7 +46,7 @@ This way we can help prevent intrusive connection attempts. Click to authorise a new IP. In our case we will enter 109.190.200.59: -![Add an IP](images/mongodb_02_manage_control_panel-20230313175157.png){.thumbnail} +![Add an IP](images/mongodb_02_manage_control_panel-add_ip.png){.thumbnail} > [!primary] > @@ -55,14 +55,14 @@ Click to authorise a new IP. In our case we will enter 109.190.200.59: ### Get your connection information (URI) -Select the `General Information`{.action} tab. In the **Login Information** section, copy the Service URI. +Select the `Dashboard`{.action} tab. In the **Connection Information** section, copy the Service URI. You can specify the MongoDB connection string using either: - *Service -> mongoDB* for the Standard Connection String format **(soon deprecated)**. - *Service -> mongodbSrv* for the DNS Seed List Connection String format. -![MongoDB General Information](images/mongodb_02_manage_control_panel-20230313175545.png){.thumbnail} +![MongoDB General Information](images/mongodb_02_manage_control_panel-copy_uri.png){.thumbnail} > [!primary] > @@ -86,13 +86,9 @@ You can specify the MongoDB connection string using either: > mongodbSrv >> It should be similar to this: >> ``` ->> mongodb+srv://:@mongodb-d5674315-o2626ab53.database.cloud.ovh.net/admin?replicaSet=replicaset +>> mongodb+srv://:@/admin?replicaSet=replicaset&tls=true >> ``` -Select the `Users`{.action} tab to get the username or reset a user password. - -![Users tab](images/mongodb_02_manage_control_panel-20230313175812.png){.thumbnail} - ## Go further [MongoDB capabilities](/pages/public_cloud/public_cloud_databases/mongodb_01_concept_capabilities) diff --git a/pages/public_cloud/public_cloud_databases/mongodb_02_manage_control_panel/guide.fr-ca.md b/pages/public_cloud/public_cloud_databases/mongodb_02_manage_control_panel/guide.fr-ca.md index 7c41ea1e7aa..d435892b63d 100644 --- a/pages/public_cloud/public_cloud_databases/mongodb_02_manage_control_panel/guide.fr-ca.md +++ b/pages/public_cloud/public_cloud_databases/mongodb_02_manage_control_panel/guide.fr-ca.md @@ -1,7 +1,7 @@ --- title: MongoDB - Configurez votre instance MongoDB pour accepter les connexions entrantes (EN) excerpt: Find out how to configure your MongoDB instance to accept incoming connections -updated: 2023-12-06 +updated: 2025-10-08 --- ## Objective @@ -30,13 +30,13 @@ Select the `Users`{.action} tab. Verify that you have a user with sufficient rig We provide official MongoDB built-in roles. Please read the [official MongoDB documentation](https://docs.mongodb.com/manual/reference/built-in-roles/) to select the right roles for your use case. -In our example, we will create a user called `foo` with the role `userAdmin` on the `bar` database and the role `readWriteAnyDatabase` on any database as its name implies: +In our example, we will create a new user called `foo` with the role `userAdmin` on the `bar` database and the role `readWriteAnyDatabase` on any database as its name implies: -![User Creation](images/mongodb_02_manage_control_panel-20230313174020.png){.thumbnail} +![User Creation](images/mongodb_02_manage_control_panel-add_user.png){.thumbnail} -Once created or updated, note the password then after a few seconds check to verify the user is ready and with the "Enabled" status in the OVHcloud Control Panel. +After a few seconds the user is ready with the "Enabled" status, you can then reset and note its password. -![User ready](images/mongodb_02_manage_control_panel-20230313174249.png){.thumbnail} +![User ready](images/mongodb_02_manage_control_panel-reset_password.png){.thumbnail} #### Step 2: Authorise incoming connections from the MongoDB client @@ -46,7 +46,7 @@ This way we can help prevent intrusive connection attempts. Click to authorise a new IP. In our case we will enter 109.190.200.59: -![Add an IP](images/mongodb_02_manage_control_panel-20230313175157.png){.thumbnail} +![Add an IP](images/mongodb_02_manage_control_panel-add_ip.png){.thumbnail} > [!primary] > @@ -55,14 +55,14 @@ Click to authorise a new IP. In our case we will enter 109.190.200.59: ### Get your connection information (URI) -Select the `General Information`{.action} tab. In the **Login Information** section, copy the Service URI. +Select the `Dashboard`{.action} tab. In the **Connection Information** section, copy the Service URI. You can specify the MongoDB connection string using either: - *Service -> mongoDB* for the Standard Connection String format **(soon deprecated)**. - *Service -> mongodbSrv* for the DNS Seed List Connection String format. -![MongoDB General Information](images/mongodb_02_manage_control_panel-20230313175545.png){.thumbnail} +![MongoDB General Information](images/mongodb_02_manage_control_panel-copy_uri.png){.thumbnail} > [!primary] > @@ -86,13 +86,9 @@ You can specify the MongoDB connection string using either: > mongodbSrv >> It should be similar to this: >> ``` ->> mongodb+srv://:@mongodb-d5674315-o2626ab53.database.cloud.ovh.net/admin?replicaSet=replicaset +>> mongodb+srv://:@/admin?replicaSet=replicaset&tls=true >> ``` -Select the `Users`{.action} tab to get the username or reset a user password. - -![Users tab](images/mongodb_02_manage_control_panel-20230313175812.png){.thumbnail} - ## Go further [MongoDB capabilities](/pages/public_cloud/public_cloud_databases/mongodb_01_concept_capabilities) diff --git a/pages/public_cloud/public_cloud_databases/mongodb_02_manage_control_panel/guide.fr-fr.md b/pages/public_cloud/public_cloud_databases/mongodb_02_manage_control_panel/guide.fr-fr.md index 7c41ea1e7aa..d435892b63d 100644 --- a/pages/public_cloud/public_cloud_databases/mongodb_02_manage_control_panel/guide.fr-fr.md +++ b/pages/public_cloud/public_cloud_databases/mongodb_02_manage_control_panel/guide.fr-fr.md @@ -1,7 +1,7 @@ --- title: MongoDB - Configurez votre instance MongoDB pour accepter les connexions entrantes (EN) excerpt: Find out how to configure your MongoDB instance to accept incoming connections -updated: 2023-12-06 +updated: 2025-10-08 --- ## Objective @@ -30,13 +30,13 @@ Select the `Users`{.action} tab. Verify that you have a user with sufficient rig We provide official MongoDB built-in roles. Please read the [official MongoDB documentation](https://docs.mongodb.com/manual/reference/built-in-roles/) to select the right roles for your use case. -In our example, we will create a user called `foo` with the role `userAdmin` on the `bar` database and the role `readWriteAnyDatabase` on any database as its name implies: +In our example, we will create a new user called `foo` with the role `userAdmin` on the `bar` database and the role `readWriteAnyDatabase` on any database as its name implies: -![User Creation](images/mongodb_02_manage_control_panel-20230313174020.png){.thumbnail} +![User Creation](images/mongodb_02_manage_control_panel-add_user.png){.thumbnail} -Once created or updated, note the password then after a few seconds check to verify the user is ready and with the "Enabled" status in the OVHcloud Control Panel. +After a few seconds the user is ready with the "Enabled" status, you can then reset and note its password. -![User ready](images/mongodb_02_manage_control_panel-20230313174249.png){.thumbnail} +![User ready](images/mongodb_02_manage_control_panel-reset_password.png){.thumbnail} #### Step 2: Authorise incoming connections from the MongoDB client @@ -46,7 +46,7 @@ This way we can help prevent intrusive connection attempts. Click to authorise a new IP. In our case we will enter 109.190.200.59: -![Add an IP](images/mongodb_02_manage_control_panel-20230313175157.png){.thumbnail} +![Add an IP](images/mongodb_02_manage_control_panel-add_ip.png){.thumbnail} > [!primary] > @@ -55,14 +55,14 @@ Click to authorise a new IP. In our case we will enter 109.190.200.59: ### Get your connection information (URI) -Select the `General Information`{.action} tab. In the **Login Information** section, copy the Service URI. +Select the `Dashboard`{.action} tab. In the **Connection Information** section, copy the Service URI. You can specify the MongoDB connection string using either: - *Service -> mongoDB* for the Standard Connection String format **(soon deprecated)**. - *Service -> mongodbSrv* for the DNS Seed List Connection String format. -![MongoDB General Information](images/mongodb_02_manage_control_panel-20230313175545.png){.thumbnail} +![MongoDB General Information](images/mongodb_02_manage_control_panel-copy_uri.png){.thumbnail} > [!primary] > @@ -86,13 +86,9 @@ You can specify the MongoDB connection string using either: > mongodbSrv >> It should be similar to this: >> ``` ->> mongodb+srv://:@mongodb-d5674315-o2626ab53.database.cloud.ovh.net/admin?replicaSet=replicaset +>> mongodb+srv://:@/admin?replicaSet=replicaset&tls=true >> ``` -Select the `Users`{.action} tab to get the username or reset a user password. - -![Users tab](images/mongodb_02_manage_control_panel-20230313175812.png){.thumbnail} - ## Go further [MongoDB capabilities](/pages/public_cloud/public_cloud_databases/mongodb_01_concept_capabilities) diff --git a/pages/public_cloud/public_cloud_databases/mongodb_02_manage_control_panel/guide.it-it.md b/pages/public_cloud/public_cloud_databases/mongodb_02_manage_control_panel/guide.it-it.md index b0a12335e94..36caede2383 100644 --- a/pages/public_cloud/public_cloud_databases/mongodb_02_manage_control_panel/guide.it-it.md +++ b/pages/public_cloud/public_cloud_databases/mongodb_02_manage_control_panel/guide.it-it.md @@ -1,7 +1,7 @@ --- title: MongoDB - Configure your MongoDB instance to accept incoming connections excerpt: Find out how to configure your MongoDB instance to accept incoming connections -updated: 2023-12-06 +updated: 2025-10-08 --- ## Objective @@ -30,13 +30,13 @@ Select the `Users`{.action} tab. Verify that you have a user with sufficient rig We provide official MongoDB built-in roles. Please read the [official MongoDB documentation](https://docs.mongodb.com/manual/reference/built-in-roles/) to select the right roles for your use case. -In our example, we will create a user called `foo` with the role `userAdmin` on the `bar` database and the role `readWriteAnyDatabase` on any database as its name implies: +In our example, we will create a new user called `foo` with the role `userAdmin` on the `bar` database and the role `readWriteAnyDatabase` on any database as its name implies: -![User Creation](images/mongodb_02_manage_control_panel-20230313174020.png){.thumbnail} +![User Creation](images/mongodb_02_manage_control_panel-add_user.png){.thumbnail} -Once created or updated, note the password then after a few seconds check to verify the user is ready and with the "Enabled" status in the OVHcloud Control Panel. +After a few seconds the user is ready with the "Enabled" status, you can then reset and note its password. -![User ready](images/mongodb_02_manage_control_panel-20230313174249.png){.thumbnail} +![User ready](images/mongodb_02_manage_control_panel-reset_password.png){.thumbnail} #### Step 2: Authorise incoming connections from the MongoDB client @@ -46,7 +46,7 @@ This way we can help prevent intrusive connection attempts. Click to authorise a new IP. In our case we will enter 109.190.200.59: -![Add an IP](images/mongodb_02_manage_control_panel-20230313175157.png){.thumbnail} +![Add an IP](images/mongodb_02_manage_control_panel-add_ip.png){.thumbnail} > [!primary] > @@ -55,14 +55,14 @@ Click to authorise a new IP. In our case we will enter 109.190.200.59: ### Get your connection information (URI) -Select the `General Information`{.action} tab. In the **Login Information** section, copy the Service URI. +Select the `Dashboard`{.action} tab. In the **Connection Information** section, copy the Service URI. You can specify the MongoDB connection string using either: - *Service -> mongoDB* for the Standard Connection String format **(soon deprecated)**. - *Service -> mongodbSrv* for the DNS Seed List Connection String format. -![MongoDB General Information](images/mongodb_02_manage_control_panel-20230313175545.png){.thumbnail} +![MongoDB General Information](images/mongodb_02_manage_control_panel-copy_uri.png){.thumbnail} > [!primary] > @@ -86,13 +86,9 @@ You can specify the MongoDB connection string using either: > mongodbSrv >> It should be similar to this: >> ``` ->> mongodb+srv://:@mongodb-d5674315-o2626ab53.database.cloud.ovh.net/admin?replicaSet=replicaset +>> mongodb+srv://:@/admin?replicaSet=replicaset&tls=true >> ``` -Select the `Users`{.action} tab to get the username or reset a user password. - -![Users tab](images/mongodb_02_manage_control_panel-20230313175812.png){.thumbnail} - ## Go further [MongoDB capabilities](/pages/public_cloud/public_cloud_databases/mongodb_01_concept_capabilities) diff --git a/pages/public_cloud/public_cloud_databases/mongodb_02_manage_control_panel/guide.pl-pl.md b/pages/public_cloud/public_cloud_databases/mongodb_02_manage_control_panel/guide.pl-pl.md index b0a12335e94..36caede2383 100644 --- a/pages/public_cloud/public_cloud_databases/mongodb_02_manage_control_panel/guide.pl-pl.md +++ b/pages/public_cloud/public_cloud_databases/mongodb_02_manage_control_panel/guide.pl-pl.md @@ -1,7 +1,7 @@ --- title: MongoDB - Configure your MongoDB instance to accept incoming connections excerpt: Find out how to configure your MongoDB instance to accept incoming connections -updated: 2023-12-06 +updated: 2025-10-08 --- ## Objective @@ -30,13 +30,13 @@ Select the `Users`{.action} tab. Verify that you have a user with sufficient rig We provide official MongoDB built-in roles. Please read the [official MongoDB documentation](https://docs.mongodb.com/manual/reference/built-in-roles/) to select the right roles for your use case. -In our example, we will create a user called `foo` with the role `userAdmin` on the `bar` database and the role `readWriteAnyDatabase` on any database as its name implies: +In our example, we will create a new user called `foo` with the role `userAdmin` on the `bar` database and the role `readWriteAnyDatabase` on any database as its name implies: -![User Creation](images/mongodb_02_manage_control_panel-20230313174020.png){.thumbnail} +![User Creation](images/mongodb_02_manage_control_panel-add_user.png){.thumbnail} -Once created or updated, note the password then after a few seconds check to verify the user is ready and with the "Enabled" status in the OVHcloud Control Panel. +After a few seconds the user is ready with the "Enabled" status, you can then reset and note its password. -![User ready](images/mongodb_02_manage_control_panel-20230313174249.png){.thumbnail} +![User ready](images/mongodb_02_manage_control_panel-reset_password.png){.thumbnail} #### Step 2: Authorise incoming connections from the MongoDB client @@ -46,7 +46,7 @@ This way we can help prevent intrusive connection attempts. Click to authorise a new IP. In our case we will enter 109.190.200.59: -![Add an IP](images/mongodb_02_manage_control_panel-20230313175157.png){.thumbnail} +![Add an IP](images/mongodb_02_manage_control_panel-add_ip.png){.thumbnail} > [!primary] > @@ -55,14 +55,14 @@ Click to authorise a new IP. In our case we will enter 109.190.200.59: ### Get your connection information (URI) -Select the `General Information`{.action} tab. In the **Login Information** section, copy the Service URI. +Select the `Dashboard`{.action} tab. In the **Connection Information** section, copy the Service URI. You can specify the MongoDB connection string using either: - *Service -> mongoDB* for the Standard Connection String format **(soon deprecated)**. - *Service -> mongodbSrv* for the DNS Seed List Connection String format. -![MongoDB General Information](images/mongodb_02_manage_control_panel-20230313175545.png){.thumbnail} +![MongoDB General Information](images/mongodb_02_manage_control_panel-copy_uri.png){.thumbnail} > [!primary] > @@ -86,13 +86,9 @@ You can specify the MongoDB connection string using either: > mongodbSrv >> It should be similar to this: >> ``` ->> mongodb+srv://:@mongodb-d5674315-o2626ab53.database.cloud.ovh.net/admin?replicaSet=replicaset +>> mongodb+srv://:@/admin?replicaSet=replicaset&tls=true >> ``` -Select the `Users`{.action} tab to get the username or reset a user password. - -![Users tab](images/mongodb_02_manage_control_panel-20230313175812.png){.thumbnail} - ## Go further [MongoDB capabilities](/pages/public_cloud/public_cloud_databases/mongodb_01_concept_capabilities) diff --git a/pages/public_cloud/public_cloud_databases/mongodb_02_manage_control_panel/guide.pt-pt.md b/pages/public_cloud/public_cloud_databases/mongodb_02_manage_control_panel/guide.pt-pt.md index b0a12335e94..36caede2383 100644 --- a/pages/public_cloud/public_cloud_databases/mongodb_02_manage_control_panel/guide.pt-pt.md +++ b/pages/public_cloud/public_cloud_databases/mongodb_02_manage_control_panel/guide.pt-pt.md @@ -1,7 +1,7 @@ --- title: MongoDB - Configure your MongoDB instance to accept incoming connections excerpt: Find out how to configure your MongoDB instance to accept incoming connections -updated: 2023-12-06 +updated: 2025-10-08 --- ## Objective @@ -30,13 +30,13 @@ Select the `Users`{.action} tab. Verify that you have a user with sufficient rig We provide official MongoDB built-in roles. Please read the [official MongoDB documentation](https://docs.mongodb.com/manual/reference/built-in-roles/) to select the right roles for your use case. -In our example, we will create a user called `foo` with the role `userAdmin` on the `bar` database and the role `readWriteAnyDatabase` on any database as its name implies: +In our example, we will create a new user called `foo` with the role `userAdmin` on the `bar` database and the role `readWriteAnyDatabase` on any database as its name implies: -![User Creation](images/mongodb_02_manage_control_panel-20230313174020.png){.thumbnail} +![User Creation](images/mongodb_02_manage_control_panel-add_user.png){.thumbnail} -Once created or updated, note the password then after a few seconds check to verify the user is ready and with the "Enabled" status in the OVHcloud Control Panel. +After a few seconds the user is ready with the "Enabled" status, you can then reset and note its password. -![User ready](images/mongodb_02_manage_control_panel-20230313174249.png){.thumbnail} +![User ready](images/mongodb_02_manage_control_panel-reset_password.png){.thumbnail} #### Step 2: Authorise incoming connections from the MongoDB client @@ -46,7 +46,7 @@ This way we can help prevent intrusive connection attempts. Click to authorise a new IP. In our case we will enter 109.190.200.59: -![Add an IP](images/mongodb_02_manage_control_panel-20230313175157.png){.thumbnail} +![Add an IP](images/mongodb_02_manage_control_panel-add_ip.png){.thumbnail} > [!primary] > @@ -55,14 +55,14 @@ Click to authorise a new IP. In our case we will enter 109.190.200.59: ### Get your connection information (URI) -Select the `General Information`{.action} tab. In the **Login Information** section, copy the Service URI. +Select the `Dashboard`{.action} tab. In the **Connection Information** section, copy the Service URI. You can specify the MongoDB connection string using either: - *Service -> mongoDB* for the Standard Connection String format **(soon deprecated)**. - *Service -> mongodbSrv* for the DNS Seed List Connection String format. -![MongoDB General Information](images/mongodb_02_manage_control_panel-20230313175545.png){.thumbnail} +![MongoDB General Information](images/mongodb_02_manage_control_panel-copy_uri.png){.thumbnail} > [!primary] > @@ -86,13 +86,9 @@ You can specify the MongoDB connection string using either: > mongodbSrv >> It should be similar to this: >> ``` ->> mongodb+srv://:@mongodb-d5674315-o2626ab53.database.cloud.ovh.net/admin?replicaSet=replicaset +>> mongodb+srv://:@/admin?replicaSet=replicaset&tls=true >> ``` -Select the `Users`{.action} tab to get the username or reset a user password. - -![Users tab](images/mongodb_02_manage_control_panel-20230313175812.png){.thumbnail} - ## Go further [MongoDB capabilities](/pages/public_cloud/public_cloud_databases/mongodb_01_concept_capabilities) diff --git a/pages/public_cloud/public_cloud_databases/mongodb_02_manage_control_panel/images/mongodb_02_manage_control_panel-20230313174020.png b/pages/public_cloud/public_cloud_databases/mongodb_02_manage_control_panel/images/mongodb_02_manage_control_panel-20230313174020.png deleted file mode 100644 index 14d40c8eb44..00000000000 Binary files a/pages/public_cloud/public_cloud_databases/mongodb_02_manage_control_panel/images/mongodb_02_manage_control_panel-20230313174020.png and /dev/null differ diff --git a/pages/public_cloud/public_cloud_databases/mongodb_02_manage_control_panel/images/mongodb_02_manage_control_panel-20230313174249.png b/pages/public_cloud/public_cloud_databases/mongodb_02_manage_control_panel/images/mongodb_02_manage_control_panel-20230313174249.png deleted file mode 100644 index 8336fbf642f..00000000000 Binary files a/pages/public_cloud/public_cloud_databases/mongodb_02_manage_control_panel/images/mongodb_02_manage_control_panel-20230313174249.png and /dev/null differ diff --git a/pages/public_cloud/public_cloud_databases/mongodb_02_manage_control_panel/images/mongodb_02_manage_control_panel-20230313175157.png b/pages/public_cloud/public_cloud_databases/mongodb_02_manage_control_panel/images/mongodb_02_manage_control_panel-20230313175157.png deleted file mode 100644 index 9a41b901675..00000000000 Binary files a/pages/public_cloud/public_cloud_databases/mongodb_02_manage_control_panel/images/mongodb_02_manage_control_panel-20230313175157.png and /dev/null differ diff --git a/pages/public_cloud/public_cloud_databases/mongodb_02_manage_control_panel/images/mongodb_02_manage_control_panel-20230313175545.png b/pages/public_cloud/public_cloud_databases/mongodb_02_manage_control_panel/images/mongodb_02_manage_control_panel-20230313175545.png deleted file mode 100644 index cfe0a53f2c9..00000000000 Binary files a/pages/public_cloud/public_cloud_databases/mongodb_02_manage_control_panel/images/mongodb_02_manage_control_panel-20230313175545.png and /dev/null differ diff --git a/pages/public_cloud/public_cloud_databases/mongodb_02_manage_control_panel/images/mongodb_02_manage_control_panel-20230313175812.png b/pages/public_cloud/public_cloud_databases/mongodb_02_manage_control_panel/images/mongodb_02_manage_control_panel-20230313175812.png deleted file mode 100644 index 0de94209e03..00000000000 Binary files a/pages/public_cloud/public_cloud_databases/mongodb_02_manage_control_panel/images/mongodb_02_manage_control_panel-20230313175812.png and /dev/null differ diff --git a/pages/public_cloud/public_cloud_databases/mongodb_02_manage_control_panel/images/mongodb_02_manage_control_panel-add_ip.png b/pages/public_cloud/public_cloud_databases/mongodb_02_manage_control_panel/images/mongodb_02_manage_control_panel-add_ip.png new file mode 100644 index 00000000000..a1423584e85 Binary files /dev/null and b/pages/public_cloud/public_cloud_databases/mongodb_02_manage_control_panel/images/mongodb_02_manage_control_panel-add_ip.png differ diff --git a/pages/public_cloud/public_cloud_databases/mongodb_02_manage_control_panel/images/mongodb_02_manage_control_panel-add_user.png b/pages/public_cloud/public_cloud_databases/mongodb_02_manage_control_panel/images/mongodb_02_manage_control_panel-add_user.png new file mode 100644 index 00000000000..e2da685f088 Binary files /dev/null and b/pages/public_cloud/public_cloud_databases/mongodb_02_manage_control_panel/images/mongodb_02_manage_control_panel-add_user.png differ diff --git a/pages/public_cloud/public_cloud_databases/mongodb_02_manage_control_panel/images/mongodb_02_manage_control_panel-copy_uri.png b/pages/public_cloud/public_cloud_databases/mongodb_02_manage_control_panel/images/mongodb_02_manage_control_panel-copy_uri.png new file mode 100644 index 00000000000..195a76169b6 Binary files /dev/null and b/pages/public_cloud/public_cloud_databases/mongodb_02_manage_control_panel/images/mongodb_02_manage_control_panel-copy_uri.png differ diff --git a/pages/public_cloud/public_cloud_databases/mongodb_02_manage_control_panel/images/mongodb_02_manage_control_panel-reset_password.png b/pages/public_cloud/public_cloud_databases/mongodb_02_manage_control_panel/images/mongodb_02_manage_control_panel-reset_password.png new file mode 100644 index 00000000000..ed23202fa8c Binary files /dev/null and b/pages/public_cloud/public_cloud_databases/mongodb_02_manage_control_panel/images/mongodb_02_manage_control_panel-reset_password.png differ diff --git a/pages/public_cloud/public_cloud_databases/postgresql_05_connect_python/guide.de-de.md b/pages/public_cloud/public_cloud_databases/postgresql_05_connect_python/guide.de-de.md index c2c1b4739f4..c5c3f384718 100644 --- a/pages/public_cloud/public_cloud_databases/postgresql_05_connect_python/guide.de-de.md +++ b/pages/public_cloud/public_cloud_databases/postgresql_05_connect_python/guide.de-de.md @@ -1,7 +1,7 @@ --- title: PostgreSQL - Connect with Python excerpt: Connect to your Public Cloud Databases for PostgreSQL using the Python programming language -updated: 2022-04-04 +updated: 2025-10-08 --- ## Objective @@ -18,12 +18,12 @@ You can find an example on the [Github examples repository](https://github.com/o - A [Public Cloud project](/links/public-cloud/public-cloud) in your OVHcloud account. - A PostgreSQL database running on your OVHcloud Public Cloud Databases ([this guide](/pages/public_cloud/public_cloud_databases/databases_01_order_control_panel) can help you to meet this requirement) - [Configure your PostgreSQL instance](/pages/public_cloud/public_cloud_databases/postgresql_07_prepare_for_incoming_connections) to accept incoming connections -- A Python environment with a stable version and public network connectivity (Internet). This guide was made using Python 3.9.7. +- A Python environment with a stable version and public network connectivity (Internet). This guide was made using Python 3.13.5. ## Concept A PostgreSQL instance can be managed through multiple ways. -One of the easiest, yet powerful, is to use a Command Line Interface (CLI), as shown in our guide : [Connect to PostgreSQL with CLI](/pages/public_cloud/public_cloud_databases/postgresql_03_connect_cli). +One of the easiest, yet powerful, is to use a Command Line Interface (CLI), as shown in our guide: [Connect to PostgreSQL with CLI](/pages/public_cloud/public_cloud_databases/postgresql_03_connect_cli). Another way is to interact directly using a programming language, such as Python. Python is one of the major programming languages in the world, especially in the Data ecosystem. @@ -41,29 +41,18 @@ To interact with your PostgreSQL instance using Python, your development environ Please follow the official [Psycopg - PostgreSQL database adapter for Pytho](https://www.psycopg.org/docs/). to get the latest information. -Once your Python environment is set up and you begin executing a **python --version** in your command line interface (CLI), you should see information about the version as shown below : +Once your Python environment is set up and you begin executing a **python --version** in your command line interface (CLI), you should see information about the version as shown below: ```python laptop$ python3 --version -Python 3.9.7 +Python 3.13.5 ``` In the same console, by typing a **pip list** check if **psycopg2** is correctly installed : ```python -laptop$ pip list -Package Version ----------------------- ------- -cryptography 3.3.2 -mysql-connector-python 8.0.27 -pip 20.3.4 -protobuf 3.19.3 -psycopg2 2.8.6 -pyOpenSSL 20.0.1 -setuptools 52.0.0 -six 1.16.0 -wheel 0.34.2 -(...) +laptop$ pip list | grep psycopg2 +psycopg2 2.9.10 ``` We are now ready to learn how to connect to our PostgreSQL instance! @@ -79,18 +68,19 @@ In your Python environment, let's try a connection. ```python import psycopg2 -connection = psycopg2.connect("postgres://avnadmin:K93xxxxxxxxxxaBp@postgresql-57xxxxfc-o2xxxxb53.database.cloud.ovh.net:20184/defaultdb?sslmode=require") +connection = psycopg2.connect(dbname='defaultdb', user='', password='', host='postgresql-xxxxxxxx-yyyyyyyy.database.cloud.ovh.net', port='20184', sslmode='require') +pid = connection.get_backend_pid() cursor = connection.cursor() -cursor.execute("select * from pg_stat_ssl") -stat_ssl = cursor.fetchone() +cursor.execute(f'SELECT * FROM pg_stat_ssl WHERE pid = {pid}') +stat_ssl = cursor.fetchall() print(stat_ssl) ``` -After executing your Python code, result shown in the CLI should be like this : +After executing your Python code, result shown in the CLI should be like this: ```python -(590567, True, 'TLSv1.3', 'TLS_AES_256_GCM_SHA384', 256, None, None, None) +[(3538261, True, 'TLSv1.3', 'TLS_AES_256_GCM_SHA384', 256, None, None, None)] ``` ## Go further diff --git a/pages/public_cloud/public_cloud_databases/postgresql_05_connect_python/guide.en-asia.md b/pages/public_cloud/public_cloud_databases/postgresql_05_connect_python/guide.en-asia.md index c2c1b4739f4..c5c3f384718 100644 --- a/pages/public_cloud/public_cloud_databases/postgresql_05_connect_python/guide.en-asia.md +++ b/pages/public_cloud/public_cloud_databases/postgresql_05_connect_python/guide.en-asia.md @@ -1,7 +1,7 @@ --- title: PostgreSQL - Connect with Python excerpt: Connect to your Public Cloud Databases for PostgreSQL using the Python programming language -updated: 2022-04-04 +updated: 2025-10-08 --- ## Objective @@ -18,12 +18,12 @@ You can find an example on the [Github examples repository](https://github.com/o - A [Public Cloud project](/links/public-cloud/public-cloud) in your OVHcloud account. - A PostgreSQL database running on your OVHcloud Public Cloud Databases ([this guide](/pages/public_cloud/public_cloud_databases/databases_01_order_control_panel) can help you to meet this requirement) - [Configure your PostgreSQL instance](/pages/public_cloud/public_cloud_databases/postgresql_07_prepare_for_incoming_connections) to accept incoming connections -- A Python environment with a stable version and public network connectivity (Internet). This guide was made using Python 3.9.7. +- A Python environment with a stable version and public network connectivity (Internet). This guide was made using Python 3.13.5. ## Concept A PostgreSQL instance can be managed through multiple ways. -One of the easiest, yet powerful, is to use a Command Line Interface (CLI), as shown in our guide : [Connect to PostgreSQL with CLI](/pages/public_cloud/public_cloud_databases/postgresql_03_connect_cli). +One of the easiest, yet powerful, is to use a Command Line Interface (CLI), as shown in our guide: [Connect to PostgreSQL with CLI](/pages/public_cloud/public_cloud_databases/postgresql_03_connect_cli). Another way is to interact directly using a programming language, such as Python. Python is one of the major programming languages in the world, especially in the Data ecosystem. @@ -41,29 +41,18 @@ To interact with your PostgreSQL instance using Python, your development environ Please follow the official [Psycopg - PostgreSQL database adapter for Pytho](https://www.psycopg.org/docs/). to get the latest information. -Once your Python environment is set up and you begin executing a **python --version** in your command line interface (CLI), you should see information about the version as shown below : +Once your Python environment is set up and you begin executing a **python --version** in your command line interface (CLI), you should see information about the version as shown below: ```python laptop$ python3 --version -Python 3.9.7 +Python 3.13.5 ``` In the same console, by typing a **pip list** check if **psycopg2** is correctly installed : ```python -laptop$ pip list -Package Version ----------------------- ------- -cryptography 3.3.2 -mysql-connector-python 8.0.27 -pip 20.3.4 -protobuf 3.19.3 -psycopg2 2.8.6 -pyOpenSSL 20.0.1 -setuptools 52.0.0 -six 1.16.0 -wheel 0.34.2 -(...) +laptop$ pip list | grep psycopg2 +psycopg2 2.9.10 ``` We are now ready to learn how to connect to our PostgreSQL instance! @@ -79,18 +68,19 @@ In your Python environment, let's try a connection. ```python import psycopg2 -connection = psycopg2.connect("postgres://avnadmin:K93xxxxxxxxxxaBp@postgresql-57xxxxfc-o2xxxxb53.database.cloud.ovh.net:20184/defaultdb?sslmode=require") +connection = psycopg2.connect(dbname='defaultdb', user='', password='', host='postgresql-xxxxxxxx-yyyyyyyy.database.cloud.ovh.net', port='20184', sslmode='require') +pid = connection.get_backend_pid() cursor = connection.cursor() -cursor.execute("select * from pg_stat_ssl") -stat_ssl = cursor.fetchone() +cursor.execute(f'SELECT * FROM pg_stat_ssl WHERE pid = {pid}') +stat_ssl = cursor.fetchall() print(stat_ssl) ``` -After executing your Python code, result shown in the CLI should be like this : +After executing your Python code, result shown in the CLI should be like this: ```python -(590567, True, 'TLSv1.3', 'TLS_AES_256_GCM_SHA384', 256, None, None, None) +[(3538261, True, 'TLSv1.3', 'TLS_AES_256_GCM_SHA384', 256, None, None, None)] ``` ## Go further diff --git a/pages/public_cloud/public_cloud_databases/postgresql_05_connect_python/guide.en-au.md b/pages/public_cloud/public_cloud_databases/postgresql_05_connect_python/guide.en-au.md index c2c1b4739f4..c5c3f384718 100644 --- a/pages/public_cloud/public_cloud_databases/postgresql_05_connect_python/guide.en-au.md +++ b/pages/public_cloud/public_cloud_databases/postgresql_05_connect_python/guide.en-au.md @@ -1,7 +1,7 @@ --- title: PostgreSQL - Connect with Python excerpt: Connect to your Public Cloud Databases for PostgreSQL using the Python programming language -updated: 2022-04-04 +updated: 2025-10-08 --- ## Objective @@ -18,12 +18,12 @@ You can find an example on the [Github examples repository](https://github.com/o - A [Public Cloud project](/links/public-cloud/public-cloud) in your OVHcloud account. - A PostgreSQL database running on your OVHcloud Public Cloud Databases ([this guide](/pages/public_cloud/public_cloud_databases/databases_01_order_control_panel) can help you to meet this requirement) - [Configure your PostgreSQL instance](/pages/public_cloud/public_cloud_databases/postgresql_07_prepare_for_incoming_connections) to accept incoming connections -- A Python environment with a stable version and public network connectivity (Internet). This guide was made using Python 3.9.7. +- A Python environment with a stable version and public network connectivity (Internet). This guide was made using Python 3.13.5. ## Concept A PostgreSQL instance can be managed through multiple ways. -One of the easiest, yet powerful, is to use a Command Line Interface (CLI), as shown in our guide : [Connect to PostgreSQL with CLI](/pages/public_cloud/public_cloud_databases/postgresql_03_connect_cli). +One of the easiest, yet powerful, is to use a Command Line Interface (CLI), as shown in our guide: [Connect to PostgreSQL with CLI](/pages/public_cloud/public_cloud_databases/postgresql_03_connect_cli). Another way is to interact directly using a programming language, such as Python. Python is one of the major programming languages in the world, especially in the Data ecosystem. @@ -41,29 +41,18 @@ To interact with your PostgreSQL instance using Python, your development environ Please follow the official [Psycopg - PostgreSQL database adapter for Pytho](https://www.psycopg.org/docs/). to get the latest information. -Once your Python environment is set up and you begin executing a **python --version** in your command line interface (CLI), you should see information about the version as shown below : +Once your Python environment is set up and you begin executing a **python --version** in your command line interface (CLI), you should see information about the version as shown below: ```python laptop$ python3 --version -Python 3.9.7 +Python 3.13.5 ``` In the same console, by typing a **pip list** check if **psycopg2** is correctly installed : ```python -laptop$ pip list -Package Version ----------------------- ------- -cryptography 3.3.2 -mysql-connector-python 8.0.27 -pip 20.3.4 -protobuf 3.19.3 -psycopg2 2.8.6 -pyOpenSSL 20.0.1 -setuptools 52.0.0 -six 1.16.0 -wheel 0.34.2 -(...) +laptop$ pip list | grep psycopg2 +psycopg2 2.9.10 ``` We are now ready to learn how to connect to our PostgreSQL instance! @@ -79,18 +68,19 @@ In your Python environment, let's try a connection. ```python import psycopg2 -connection = psycopg2.connect("postgres://avnadmin:K93xxxxxxxxxxaBp@postgresql-57xxxxfc-o2xxxxb53.database.cloud.ovh.net:20184/defaultdb?sslmode=require") +connection = psycopg2.connect(dbname='defaultdb', user='', password='', host='postgresql-xxxxxxxx-yyyyyyyy.database.cloud.ovh.net', port='20184', sslmode='require') +pid = connection.get_backend_pid() cursor = connection.cursor() -cursor.execute("select * from pg_stat_ssl") -stat_ssl = cursor.fetchone() +cursor.execute(f'SELECT * FROM pg_stat_ssl WHERE pid = {pid}') +stat_ssl = cursor.fetchall() print(stat_ssl) ``` -After executing your Python code, result shown in the CLI should be like this : +After executing your Python code, result shown in the CLI should be like this: ```python -(590567, True, 'TLSv1.3', 'TLS_AES_256_GCM_SHA384', 256, None, None, None) +[(3538261, True, 'TLSv1.3', 'TLS_AES_256_GCM_SHA384', 256, None, None, None)] ``` ## Go further diff --git a/pages/public_cloud/public_cloud_databases/postgresql_05_connect_python/guide.en-ca.md b/pages/public_cloud/public_cloud_databases/postgresql_05_connect_python/guide.en-ca.md index c2c1b4739f4..c5c3f384718 100644 --- a/pages/public_cloud/public_cloud_databases/postgresql_05_connect_python/guide.en-ca.md +++ b/pages/public_cloud/public_cloud_databases/postgresql_05_connect_python/guide.en-ca.md @@ -1,7 +1,7 @@ --- title: PostgreSQL - Connect with Python excerpt: Connect to your Public Cloud Databases for PostgreSQL using the Python programming language -updated: 2022-04-04 +updated: 2025-10-08 --- ## Objective @@ -18,12 +18,12 @@ You can find an example on the [Github examples repository](https://github.com/o - A [Public Cloud project](/links/public-cloud/public-cloud) in your OVHcloud account. - A PostgreSQL database running on your OVHcloud Public Cloud Databases ([this guide](/pages/public_cloud/public_cloud_databases/databases_01_order_control_panel) can help you to meet this requirement) - [Configure your PostgreSQL instance](/pages/public_cloud/public_cloud_databases/postgresql_07_prepare_for_incoming_connections) to accept incoming connections -- A Python environment with a stable version and public network connectivity (Internet). This guide was made using Python 3.9.7. +- A Python environment with a stable version and public network connectivity (Internet). This guide was made using Python 3.13.5. ## Concept A PostgreSQL instance can be managed through multiple ways. -One of the easiest, yet powerful, is to use a Command Line Interface (CLI), as shown in our guide : [Connect to PostgreSQL with CLI](/pages/public_cloud/public_cloud_databases/postgresql_03_connect_cli). +One of the easiest, yet powerful, is to use a Command Line Interface (CLI), as shown in our guide: [Connect to PostgreSQL with CLI](/pages/public_cloud/public_cloud_databases/postgresql_03_connect_cli). Another way is to interact directly using a programming language, such as Python. Python is one of the major programming languages in the world, especially in the Data ecosystem. @@ -41,29 +41,18 @@ To interact with your PostgreSQL instance using Python, your development environ Please follow the official [Psycopg - PostgreSQL database adapter for Pytho](https://www.psycopg.org/docs/). to get the latest information. -Once your Python environment is set up and you begin executing a **python --version** in your command line interface (CLI), you should see information about the version as shown below : +Once your Python environment is set up and you begin executing a **python --version** in your command line interface (CLI), you should see information about the version as shown below: ```python laptop$ python3 --version -Python 3.9.7 +Python 3.13.5 ``` In the same console, by typing a **pip list** check if **psycopg2** is correctly installed : ```python -laptop$ pip list -Package Version ----------------------- ------- -cryptography 3.3.2 -mysql-connector-python 8.0.27 -pip 20.3.4 -protobuf 3.19.3 -psycopg2 2.8.6 -pyOpenSSL 20.0.1 -setuptools 52.0.0 -six 1.16.0 -wheel 0.34.2 -(...) +laptop$ pip list | grep psycopg2 +psycopg2 2.9.10 ``` We are now ready to learn how to connect to our PostgreSQL instance! @@ -79,18 +68,19 @@ In your Python environment, let's try a connection. ```python import psycopg2 -connection = psycopg2.connect("postgres://avnadmin:K93xxxxxxxxxxaBp@postgresql-57xxxxfc-o2xxxxb53.database.cloud.ovh.net:20184/defaultdb?sslmode=require") +connection = psycopg2.connect(dbname='defaultdb', user='', password='', host='postgresql-xxxxxxxx-yyyyyyyy.database.cloud.ovh.net', port='20184', sslmode='require') +pid = connection.get_backend_pid() cursor = connection.cursor() -cursor.execute("select * from pg_stat_ssl") -stat_ssl = cursor.fetchone() +cursor.execute(f'SELECT * FROM pg_stat_ssl WHERE pid = {pid}') +stat_ssl = cursor.fetchall() print(stat_ssl) ``` -After executing your Python code, result shown in the CLI should be like this : +After executing your Python code, result shown in the CLI should be like this: ```python -(590567, True, 'TLSv1.3', 'TLS_AES_256_GCM_SHA384', 256, None, None, None) +[(3538261, True, 'TLSv1.3', 'TLS_AES_256_GCM_SHA384', 256, None, None, None)] ``` ## Go further diff --git a/pages/public_cloud/public_cloud_databases/postgresql_05_connect_python/guide.en-gb.md b/pages/public_cloud/public_cloud_databases/postgresql_05_connect_python/guide.en-gb.md index c2c1b4739f4..c5c3f384718 100644 --- a/pages/public_cloud/public_cloud_databases/postgresql_05_connect_python/guide.en-gb.md +++ b/pages/public_cloud/public_cloud_databases/postgresql_05_connect_python/guide.en-gb.md @@ -1,7 +1,7 @@ --- title: PostgreSQL - Connect with Python excerpt: Connect to your Public Cloud Databases for PostgreSQL using the Python programming language -updated: 2022-04-04 +updated: 2025-10-08 --- ## Objective @@ -18,12 +18,12 @@ You can find an example on the [Github examples repository](https://github.com/o - A [Public Cloud project](/links/public-cloud/public-cloud) in your OVHcloud account. - A PostgreSQL database running on your OVHcloud Public Cloud Databases ([this guide](/pages/public_cloud/public_cloud_databases/databases_01_order_control_panel) can help you to meet this requirement) - [Configure your PostgreSQL instance](/pages/public_cloud/public_cloud_databases/postgresql_07_prepare_for_incoming_connections) to accept incoming connections -- A Python environment with a stable version and public network connectivity (Internet). This guide was made using Python 3.9.7. +- A Python environment with a stable version and public network connectivity (Internet). This guide was made using Python 3.13.5. ## Concept A PostgreSQL instance can be managed through multiple ways. -One of the easiest, yet powerful, is to use a Command Line Interface (CLI), as shown in our guide : [Connect to PostgreSQL with CLI](/pages/public_cloud/public_cloud_databases/postgresql_03_connect_cli). +One of the easiest, yet powerful, is to use a Command Line Interface (CLI), as shown in our guide: [Connect to PostgreSQL with CLI](/pages/public_cloud/public_cloud_databases/postgresql_03_connect_cli). Another way is to interact directly using a programming language, such as Python. Python is one of the major programming languages in the world, especially in the Data ecosystem. @@ -41,29 +41,18 @@ To interact with your PostgreSQL instance using Python, your development environ Please follow the official [Psycopg - PostgreSQL database adapter for Pytho](https://www.psycopg.org/docs/). to get the latest information. -Once your Python environment is set up and you begin executing a **python --version** in your command line interface (CLI), you should see information about the version as shown below : +Once your Python environment is set up and you begin executing a **python --version** in your command line interface (CLI), you should see information about the version as shown below: ```python laptop$ python3 --version -Python 3.9.7 +Python 3.13.5 ``` In the same console, by typing a **pip list** check if **psycopg2** is correctly installed : ```python -laptop$ pip list -Package Version ----------------------- ------- -cryptography 3.3.2 -mysql-connector-python 8.0.27 -pip 20.3.4 -protobuf 3.19.3 -psycopg2 2.8.6 -pyOpenSSL 20.0.1 -setuptools 52.0.0 -six 1.16.0 -wheel 0.34.2 -(...) +laptop$ pip list | grep psycopg2 +psycopg2 2.9.10 ``` We are now ready to learn how to connect to our PostgreSQL instance! @@ -79,18 +68,19 @@ In your Python environment, let's try a connection. ```python import psycopg2 -connection = psycopg2.connect("postgres://avnadmin:K93xxxxxxxxxxaBp@postgresql-57xxxxfc-o2xxxxb53.database.cloud.ovh.net:20184/defaultdb?sslmode=require") +connection = psycopg2.connect(dbname='defaultdb', user='', password='', host='postgresql-xxxxxxxx-yyyyyyyy.database.cloud.ovh.net', port='20184', sslmode='require') +pid = connection.get_backend_pid() cursor = connection.cursor() -cursor.execute("select * from pg_stat_ssl") -stat_ssl = cursor.fetchone() +cursor.execute(f'SELECT * FROM pg_stat_ssl WHERE pid = {pid}') +stat_ssl = cursor.fetchall() print(stat_ssl) ``` -After executing your Python code, result shown in the CLI should be like this : +After executing your Python code, result shown in the CLI should be like this: ```python -(590567, True, 'TLSv1.3', 'TLS_AES_256_GCM_SHA384', 256, None, None, None) +[(3538261, True, 'TLSv1.3', 'TLS_AES_256_GCM_SHA384', 256, None, None, None)] ``` ## Go further diff --git a/pages/public_cloud/public_cloud_databases/postgresql_05_connect_python/guide.en-ie.md b/pages/public_cloud/public_cloud_databases/postgresql_05_connect_python/guide.en-ie.md index c2c1b4739f4..c5c3f384718 100644 --- a/pages/public_cloud/public_cloud_databases/postgresql_05_connect_python/guide.en-ie.md +++ b/pages/public_cloud/public_cloud_databases/postgresql_05_connect_python/guide.en-ie.md @@ -1,7 +1,7 @@ --- title: PostgreSQL - Connect with Python excerpt: Connect to your Public Cloud Databases for PostgreSQL using the Python programming language -updated: 2022-04-04 +updated: 2025-10-08 --- ## Objective @@ -18,12 +18,12 @@ You can find an example on the [Github examples repository](https://github.com/o - A [Public Cloud project](/links/public-cloud/public-cloud) in your OVHcloud account. - A PostgreSQL database running on your OVHcloud Public Cloud Databases ([this guide](/pages/public_cloud/public_cloud_databases/databases_01_order_control_panel) can help you to meet this requirement) - [Configure your PostgreSQL instance](/pages/public_cloud/public_cloud_databases/postgresql_07_prepare_for_incoming_connections) to accept incoming connections -- A Python environment with a stable version and public network connectivity (Internet). This guide was made using Python 3.9.7. +- A Python environment with a stable version and public network connectivity (Internet). This guide was made using Python 3.13.5. ## Concept A PostgreSQL instance can be managed through multiple ways. -One of the easiest, yet powerful, is to use a Command Line Interface (CLI), as shown in our guide : [Connect to PostgreSQL with CLI](/pages/public_cloud/public_cloud_databases/postgresql_03_connect_cli). +One of the easiest, yet powerful, is to use a Command Line Interface (CLI), as shown in our guide: [Connect to PostgreSQL with CLI](/pages/public_cloud/public_cloud_databases/postgresql_03_connect_cli). Another way is to interact directly using a programming language, such as Python. Python is one of the major programming languages in the world, especially in the Data ecosystem. @@ -41,29 +41,18 @@ To interact with your PostgreSQL instance using Python, your development environ Please follow the official [Psycopg - PostgreSQL database adapter for Pytho](https://www.psycopg.org/docs/). to get the latest information. -Once your Python environment is set up and you begin executing a **python --version** in your command line interface (CLI), you should see information about the version as shown below : +Once your Python environment is set up and you begin executing a **python --version** in your command line interface (CLI), you should see information about the version as shown below: ```python laptop$ python3 --version -Python 3.9.7 +Python 3.13.5 ``` In the same console, by typing a **pip list** check if **psycopg2** is correctly installed : ```python -laptop$ pip list -Package Version ----------------------- ------- -cryptography 3.3.2 -mysql-connector-python 8.0.27 -pip 20.3.4 -protobuf 3.19.3 -psycopg2 2.8.6 -pyOpenSSL 20.0.1 -setuptools 52.0.0 -six 1.16.0 -wheel 0.34.2 -(...) +laptop$ pip list | grep psycopg2 +psycopg2 2.9.10 ``` We are now ready to learn how to connect to our PostgreSQL instance! @@ -79,18 +68,19 @@ In your Python environment, let's try a connection. ```python import psycopg2 -connection = psycopg2.connect("postgres://avnadmin:K93xxxxxxxxxxaBp@postgresql-57xxxxfc-o2xxxxb53.database.cloud.ovh.net:20184/defaultdb?sslmode=require") +connection = psycopg2.connect(dbname='defaultdb', user='', password='', host='postgresql-xxxxxxxx-yyyyyyyy.database.cloud.ovh.net', port='20184', sslmode='require') +pid = connection.get_backend_pid() cursor = connection.cursor() -cursor.execute("select * from pg_stat_ssl") -stat_ssl = cursor.fetchone() +cursor.execute(f'SELECT * FROM pg_stat_ssl WHERE pid = {pid}') +stat_ssl = cursor.fetchall() print(stat_ssl) ``` -After executing your Python code, result shown in the CLI should be like this : +After executing your Python code, result shown in the CLI should be like this: ```python -(590567, True, 'TLSv1.3', 'TLS_AES_256_GCM_SHA384', 256, None, None, None) +[(3538261, True, 'TLSv1.3', 'TLS_AES_256_GCM_SHA384', 256, None, None, None)] ``` ## Go further diff --git a/pages/public_cloud/public_cloud_databases/postgresql_05_connect_python/guide.en-sg.md b/pages/public_cloud/public_cloud_databases/postgresql_05_connect_python/guide.en-sg.md index c2c1b4739f4..c5c3f384718 100644 --- a/pages/public_cloud/public_cloud_databases/postgresql_05_connect_python/guide.en-sg.md +++ b/pages/public_cloud/public_cloud_databases/postgresql_05_connect_python/guide.en-sg.md @@ -1,7 +1,7 @@ --- title: PostgreSQL - Connect with Python excerpt: Connect to your Public Cloud Databases for PostgreSQL using the Python programming language -updated: 2022-04-04 +updated: 2025-10-08 --- ## Objective @@ -18,12 +18,12 @@ You can find an example on the [Github examples repository](https://github.com/o - A [Public Cloud project](/links/public-cloud/public-cloud) in your OVHcloud account. - A PostgreSQL database running on your OVHcloud Public Cloud Databases ([this guide](/pages/public_cloud/public_cloud_databases/databases_01_order_control_panel) can help you to meet this requirement) - [Configure your PostgreSQL instance](/pages/public_cloud/public_cloud_databases/postgresql_07_prepare_for_incoming_connections) to accept incoming connections -- A Python environment with a stable version and public network connectivity (Internet). This guide was made using Python 3.9.7. +- A Python environment with a stable version and public network connectivity (Internet). This guide was made using Python 3.13.5. ## Concept A PostgreSQL instance can be managed through multiple ways. -One of the easiest, yet powerful, is to use a Command Line Interface (CLI), as shown in our guide : [Connect to PostgreSQL with CLI](/pages/public_cloud/public_cloud_databases/postgresql_03_connect_cli). +One of the easiest, yet powerful, is to use a Command Line Interface (CLI), as shown in our guide: [Connect to PostgreSQL with CLI](/pages/public_cloud/public_cloud_databases/postgresql_03_connect_cli). Another way is to interact directly using a programming language, such as Python. Python is one of the major programming languages in the world, especially in the Data ecosystem. @@ -41,29 +41,18 @@ To interact with your PostgreSQL instance using Python, your development environ Please follow the official [Psycopg - PostgreSQL database adapter for Pytho](https://www.psycopg.org/docs/). to get the latest information. -Once your Python environment is set up and you begin executing a **python --version** in your command line interface (CLI), you should see information about the version as shown below : +Once your Python environment is set up and you begin executing a **python --version** in your command line interface (CLI), you should see information about the version as shown below: ```python laptop$ python3 --version -Python 3.9.7 +Python 3.13.5 ``` In the same console, by typing a **pip list** check if **psycopg2** is correctly installed : ```python -laptop$ pip list -Package Version ----------------------- ------- -cryptography 3.3.2 -mysql-connector-python 8.0.27 -pip 20.3.4 -protobuf 3.19.3 -psycopg2 2.8.6 -pyOpenSSL 20.0.1 -setuptools 52.0.0 -six 1.16.0 -wheel 0.34.2 -(...) +laptop$ pip list | grep psycopg2 +psycopg2 2.9.10 ``` We are now ready to learn how to connect to our PostgreSQL instance! @@ -79,18 +68,19 @@ In your Python environment, let's try a connection. ```python import psycopg2 -connection = psycopg2.connect("postgres://avnadmin:K93xxxxxxxxxxaBp@postgresql-57xxxxfc-o2xxxxb53.database.cloud.ovh.net:20184/defaultdb?sslmode=require") +connection = psycopg2.connect(dbname='defaultdb', user='', password='', host='postgresql-xxxxxxxx-yyyyyyyy.database.cloud.ovh.net', port='20184', sslmode='require') +pid = connection.get_backend_pid() cursor = connection.cursor() -cursor.execute("select * from pg_stat_ssl") -stat_ssl = cursor.fetchone() +cursor.execute(f'SELECT * FROM pg_stat_ssl WHERE pid = {pid}') +stat_ssl = cursor.fetchall() print(stat_ssl) ``` -After executing your Python code, result shown in the CLI should be like this : +After executing your Python code, result shown in the CLI should be like this: ```python -(590567, True, 'TLSv1.3', 'TLS_AES_256_GCM_SHA384', 256, None, None, None) +[(3538261, True, 'TLSv1.3', 'TLS_AES_256_GCM_SHA384', 256, None, None, None)] ``` ## Go further diff --git a/pages/public_cloud/public_cloud_databases/postgresql_05_connect_python/guide.en-us.md b/pages/public_cloud/public_cloud_databases/postgresql_05_connect_python/guide.en-us.md index c2c1b4739f4..c5c3f384718 100644 --- a/pages/public_cloud/public_cloud_databases/postgresql_05_connect_python/guide.en-us.md +++ b/pages/public_cloud/public_cloud_databases/postgresql_05_connect_python/guide.en-us.md @@ -1,7 +1,7 @@ --- title: PostgreSQL - Connect with Python excerpt: Connect to your Public Cloud Databases for PostgreSQL using the Python programming language -updated: 2022-04-04 +updated: 2025-10-08 --- ## Objective @@ -18,12 +18,12 @@ You can find an example on the [Github examples repository](https://github.com/o - A [Public Cloud project](/links/public-cloud/public-cloud) in your OVHcloud account. - A PostgreSQL database running on your OVHcloud Public Cloud Databases ([this guide](/pages/public_cloud/public_cloud_databases/databases_01_order_control_panel) can help you to meet this requirement) - [Configure your PostgreSQL instance](/pages/public_cloud/public_cloud_databases/postgresql_07_prepare_for_incoming_connections) to accept incoming connections -- A Python environment with a stable version and public network connectivity (Internet). This guide was made using Python 3.9.7. +- A Python environment with a stable version and public network connectivity (Internet). This guide was made using Python 3.13.5. ## Concept A PostgreSQL instance can be managed through multiple ways. -One of the easiest, yet powerful, is to use a Command Line Interface (CLI), as shown in our guide : [Connect to PostgreSQL with CLI](/pages/public_cloud/public_cloud_databases/postgresql_03_connect_cli). +One of the easiest, yet powerful, is to use a Command Line Interface (CLI), as shown in our guide: [Connect to PostgreSQL with CLI](/pages/public_cloud/public_cloud_databases/postgresql_03_connect_cli). Another way is to interact directly using a programming language, such as Python. Python is one of the major programming languages in the world, especially in the Data ecosystem. @@ -41,29 +41,18 @@ To interact with your PostgreSQL instance using Python, your development environ Please follow the official [Psycopg - PostgreSQL database adapter for Pytho](https://www.psycopg.org/docs/). to get the latest information. -Once your Python environment is set up and you begin executing a **python --version** in your command line interface (CLI), you should see information about the version as shown below : +Once your Python environment is set up and you begin executing a **python --version** in your command line interface (CLI), you should see information about the version as shown below: ```python laptop$ python3 --version -Python 3.9.7 +Python 3.13.5 ``` In the same console, by typing a **pip list** check if **psycopg2** is correctly installed : ```python -laptop$ pip list -Package Version ----------------------- ------- -cryptography 3.3.2 -mysql-connector-python 8.0.27 -pip 20.3.4 -protobuf 3.19.3 -psycopg2 2.8.6 -pyOpenSSL 20.0.1 -setuptools 52.0.0 -six 1.16.0 -wheel 0.34.2 -(...) +laptop$ pip list | grep psycopg2 +psycopg2 2.9.10 ``` We are now ready to learn how to connect to our PostgreSQL instance! @@ -79,18 +68,19 @@ In your Python environment, let's try a connection. ```python import psycopg2 -connection = psycopg2.connect("postgres://avnadmin:K93xxxxxxxxxxaBp@postgresql-57xxxxfc-o2xxxxb53.database.cloud.ovh.net:20184/defaultdb?sslmode=require") +connection = psycopg2.connect(dbname='defaultdb', user='', password='', host='postgresql-xxxxxxxx-yyyyyyyy.database.cloud.ovh.net', port='20184', sslmode='require') +pid = connection.get_backend_pid() cursor = connection.cursor() -cursor.execute("select * from pg_stat_ssl") -stat_ssl = cursor.fetchone() +cursor.execute(f'SELECT * FROM pg_stat_ssl WHERE pid = {pid}') +stat_ssl = cursor.fetchall() print(stat_ssl) ``` -After executing your Python code, result shown in the CLI should be like this : +After executing your Python code, result shown in the CLI should be like this: ```python -(590567, True, 'TLSv1.3', 'TLS_AES_256_GCM_SHA384', 256, None, None, None) +[(3538261, True, 'TLSv1.3', 'TLS_AES_256_GCM_SHA384', 256, None, None, None)] ``` ## Go further diff --git a/pages/public_cloud/public_cloud_databases/postgresql_05_connect_python/guide.es-es.md b/pages/public_cloud/public_cloud_databases/postgresql_05_connect_python/guide.es-es.md index c2c1b4739f4..c5c3f384718 100644 --- a/pages/public_cloud/public_cloud_databases/postgresql_05_connect_python/guide.es-es.md +++ b/pages/public_cloud/public_cloud_databases/postgresql_05_connect_python/guide.es-es.md @@ -1,7 +1,7 @@ --- title: PostgreSQL - Connect with Python excerpt: Connect to your Public Cloud Databases for PostgreSQL using the Python programming language -updated: 2022-04-04 +updated: 2025-10-08 --- ## Objective @@ -18,12 +18,12 @@ You can find an example on the [Github examples repository](https://github.com/o - A [Public Cloud project](/links/public-cloud/public-cloud) in your OVHcloud account. - A PostgreSQL database running on your OVHcloud Public Cloud Databases ([this guide](/pages/public_cloud/public_cloud_databases/databases_01_order_control_panel) can help you to meet this requirement) - [Configure your PostgreSQL instance](/pages/public_cloud/public_cloud_databases/postgresql_07_prepare_for_incoming_connections) to accept incoming connections -- A Python environment with a stable version and public network connectivity (Internet). This guide was made using Python 3.9.7. +- A Python environment with a stable version and public network connectivity (Internet). This guide was made using Python 3.13.5. ## Concept A PostgreSQL instance can be managed through multiple ways. -One of the easiest, yet powerful, is to use a Command Line Interface (CLI), as shown in our guide : [Connect to PostgreSQL with CLI](/pages/public_cloud/public_cloud_databases/postgresql_03_connect_cli). +One of the easiest, yet powerful, is to use a Command Line Interface (CLI), as shown in our guide: [Connect to PostgreSQL with CLI](/pages/public_cloud/public_cloud_databases/postgresql_03_connect_cli). Another way is to interact directly using a programming language, such as Python. Python is one of the major programming languages in the world, especially in the Data ecosystem. @@ -41,29 +41,18 @@ To interact with your PostgreSQL instance using Python, your development environ Please follow the official [Psycopg - PostgreSQL database adapter for Pytho](https://www.psycopg.org/docs/). to get the latest information. -Once your Python environment is set up and you begin executing a **python --version** in your command line interface (CLI), you should see information about the version as shown below : +Once your Python environment is set up and you begin executing a **python --version** in your command line interface (CLI), you should see information about the version as shown below: ```python laptop$ python3 --version -Python 3.9.7 +Python 3.13.5 ``` In the same console, by typing a **pip list** check if **psycopg2** is correctly installed : ```python -laptop$ pip list -Package Version ----------------------- ------- -cryptography 3.3.2 -mysql-connector-python 8.0.27 -pip 20.3.4 -protobuf 3.19.3 -psycopg2 2.8.6 -pyOpenSSL 20.0.1 -setuptools 52.0.0 -six 1.16.0 -wheel 0.34.2 -(...) +laptop$ pip list | grep psycopg2 +psycopg2 2.9.10 ``` We are now ready to learn how to connect to our PostgreSQL instance! @@ -79,18 +68,19 @@ In your Python environment, let's try a connection. ```python import psycopg2 -connection = psycopg2.connect("postgres://avnadmin:K93xxxxxxxxxxaBp@postgresql-57xxxxfc-o2xxxxb53.database.cloud.ovh.net:20184/defaultdb?sslmode=require") +connection = psycopg2.connect(dbname='defaultdb', user='', password='', host='postgresql-xxxxxxxx-yyyyyyyy.database.cloud.ovh.net', port='20184', sslmode='require') +pid = connection.get_backend_pid() cursor = connection.cursor() -cursor.execute("select * from pg_stat_ssl") -stat_ssl = cursor.fetchone() +cursor.execute(f'SELECT * FROM pg_stat_ssl WHERE pid = {pid}') +stat_ssl = cursor.fetchall() print(stat_ssl) ``` -After executing your Python code, result shown in the CLI should be like this : +After executing your Python code, result shown in the CLI should be like this: ```python -(590567, True, 'TLSv1.3', 'TLS_AES_256_GCM_SHA384', 256, None, None, None) +[(3538261, True, 'TLSv1.3', 'TLS_AES_256_GCM_SHA384', 256, None, None, None)] ``` ## Go further diff --git a/pages/public_cloud/public_cloud_databases/postgresql_05_connect_python/guide.es-us.md b/pages/public_cloud/public_cloud_databases/postgresql_05_connect_python/guide.es-us.md index c2c1b4739f4..c5c3f384718 100644 --- a/pages/public_cloud/public_cloud_databases/postgresql_05_connect_python/guide.es-us.md +++ b/pages/public_cloud/public_cloud_databases/postgresql_05_connect_python/guide.es-us.md @@ -1,7 +1,7 @@ --- title: PostgreSQL - Connect with Python excerpt: Connect to your Public Cloud Databases for PostgreSQL using the Python programming language -updated: 2022-04-04 +updated: 2025-10-08 --- ## Objective @@ -18,12 +18,12 @@ You can find an example on the [Github examples repository](https://github.com/o - A [Public Cloud project](/links/public-cloud/public-cloud) in your OVHcloud account. - A PostgreSQL database running on your OVHcloud Public Cloud Databases ([this guide](/pages/public_cloud/public_cloud_databases/databases_01_order_control_panel) can help you to meet this requirement) - [Configure your PostgreSQL instance](/pages/public_cloud/public_cloud_databases/postgresql_07_prepare_for_incoming_connections) to accept incoming connections -- A Python environment with a stable version and public network connectivity (Internet). This guide was made using Python 3.9.7. +- A Python environment with a stable version and public network connectivity (Internet). This guide was made using Python 3.13.5. ## Concept A PostgreSQL instance can be managed through multiple ways. -One of the easiest, yet powerful, is to use a Command Line Interface (CLI), as shown in our guide : [Connect to PostgreSQL with CLI](/pages/public_cloud/public_cloud_databases/postgresql_03_connect_cli). +One of the easiest, yet powerful, is to use a Command Line Interface (CLI), as shown in our guide: [Connect to PostgreSQL with CLI](/pages/public_cloud/public_cloud_databases/postgresql_03_connect_cli). Another way is to interact directly using a programming language, such as Python. Python is one of the major programming languages in the world, especially in the Data ecosystem. @@ -41,29 +41,18 @@ To interact with your PostgreSQL instance using Python, your development environ Please follow the official [Psycopg - PostgreSQL database adapter for Pytho](https://www.psycopg.org/docs/). to get the latest information. -Once your Python environment is set up and you begin executing a **python --version** in your command line interface (CLI), you should see information about the version as shown below : +Once your Python environment is set up and you begin executing a **python --version** in your command line interface (CLI), you should see information about the version as shown below: ```python laptop$ python3 --version -Python 3.9.7 +Python 3.13.5 ``` In the same console, by typing a **pip list** check if **psycopg2** is correctly installed : ```python -laptop$ pip list -Package Version ----------------------- ------- -cryptography 3.3.2 -mysql-connector-python 8.0.27 -pip 20.3.4 -protobuf 3.19.3 -psycopg2 2.8.6 -pyOpenSSL 20.0.1 -setuptools 52.0.0 -six 1.16.0 -wheel 0.34.2 -(...) +laptop$ pip list | grep psycopg2 +psycopg2 2.9.10 ``` We are now ready to learn how to connect to our PostgreSQL instance! @@ -79,18 +68,19 @@ In your Python environment, let's try a connection. ```python import psycopg2 -connection = psycopg2.connect("postgres://avnadmin:K93xxxxxxxxxxaBp@postgresql-57xxxxfc-o2xxxxb53.database.cloud.ovh.net:20184/defaultdb?sslmode=require") +connection = psycopg2.connect(dbname='defaultdb', user='', password='', host='postgresql-xxxxxxxx-yyyyyyyy.database.cloud.ovh.net', port='20184', sslmode='require') +pid = connection.get_backend_pid() cursor = connection.cursor() -cursor.execute("select * from pg_stat_ssl") -stat_ssl = cursor.fetchone() +cursor.execute(f'SELECT * FROM pg_stat_ssl WHERE pid = {pid}') +stat_ssl = cursor.fetchall() print(stat_ssl) ``` -After executing your Python code, result shown in the CLI should be like this : +After executing your Python code, result shown in the CLI should be like this: ```python -(590567, True, 'TLSv1.3', 'TLS_AES_256_GCM_SHA384', 256, None, None, None) +[(3538261, True, 'TLSv1.3', 'TLS_AES_256_GCM_SHA384', 256, None, None, None)] ``` ## Go further diff --git a/pages/public_cloud/public_cloud_databases/postgresql_05_connect_python/guide.fr-ca.md b/pages/public_cloud/public_cloud_databases/postgresql_05_connect_python/guide.fr-ca.md index 171c9b0c4ad..14299632704 100644 --- a/pages/public_cloud/public_cloud_databases/postgresql_05_connect_python/guide.fr-ca.md +++ b/pages/public_cloud/public_cloud_databases/postgresql_05_connect_python/guide.fr-ca.md @@ -1,7 +1,7 @@ --- title: PostgreSQL - Connectez-vous avec Python (EN) excerpt: Connect to your Public Cloud Databases for PostgreSQL using the Python programming language -updated: 2022-04-04 +updated: 2025-10-08 --- ## Objective @@ -18,12 +18,12 @@ You can find an example on the [Github examples repository](https://github.com/o - A [Public Cloud project](/links/public-cloud/public-cloud) in your OVHcloud account. - A PostgreSQL database running on your OVHcloud Public Cloud Databases ([this guide](/pages/public_cloud/public_cloud_databases/databases_01_order_control_panel) can help you to meet this requirement) - [Configure your PostgreSQL instance](/pages/public_cloud/public_cloud_databases/postgresql_07_prepare_for_incoming_connections) to accept incoming connections -- A Python environment with a stable version and public network connectivity (Internet). This guide was made using Python 3.9.7. +- A Python environment with a stable version and public network connectivity (Internet). This guide was made using Python 3.13.5. ## Concept A PostgreSQL instance can be managed through multiple ways. -One of the easiest, yet powerful, is to use a Command Line Interface (CLI), as shown in our guide : [Connect to PostgreSQL with CLI](/pages/public_cloud/public_cloud_databases/postgresql_03_connect_cli). +One of the easiest, yet powerful, is to use a Command Line Interface (CLI), as shown in our guide: [Connect to PostgreSQL with CLI](/pages/public_cloud/public_cloud_databases/postgresql_03_connect_cli). Another way is to interact directly using a programming language, such as Python. Python is one of the major programming languages in the world, especially in the Data ecosystem. @@ -41,29 +41,18 @@ To interact with your PostgreSQL instance using Python, your development environ Please follow the official [Psycopg - PostgreSQL database adapter for Pytho](https://www.psycopg.org/docs/). to get the latest information. -Once your Python environment is set up and you begin executing a **python --version** in your command line interface (CLI), you should see information about the version as shown below : +Once your Python environment is set up and you begin executing a **python --version** in your command line interface (CLI), you should see information about the version as shown below: ```python laptop$ python3 --version -Python 3.9.7 +Python 3.13.5 ``` In the same console, by typing a **pip list** check if **psycopg2** is correctly installed : ```python -laptop$ pip list -Package Version ----------------------- ------- -cryptography 3.3.2 -mysql-connector-python 8.0.27 -pip 20.3.4 -protobuf 3.19.3 -psycopg2 2.8.6 -pyOpenSSL 20.0.1 -setuptools 52.0.0 -six 1.16.0 -wheel 0.34.2 -(...) +laptop$ pip list | grep psycopg2 +psycopg2 2.9.10 ``` We are now ready to learn how to connect to our PostgreSQL instance! @@ -79,18 +68,19 @@ In your Python environment, let's try a connection. ```python import psycopg2 -connection = psycopg2.connect("postgres://avnadmin:K93xxxxxxxxxxaBp@postgresql-57xxxxfc-o2xxxxb53.database.cloud.ovh.net:20184/defaultdb?sslmode=require") +connection = psycopg2.connect(dbname='defaultdb', user='', password='', host='postgresql-xxxxxxxx-yyyyyyyy.database.cloud.ovh.net', port='20184', sslmode='require') +pid = connection.get_backend_pid() cursor = connection.cursor() -cursor.execute("select * from pg_stat_ssl") -stat_ssl = cursor.fetchone() +cursor.execute(f'SELECT * FROM pg_stat_ssl WHERE pid = {pid}') +stat_ssl = cursor.fetchall() print(stat_ssl) ``` -After executing your Python code, result shown in the CLI should be like this : +After executing your Python code, result shown in the CLI should be like this: ```python -(590567, True, 'TLSv1.3', 'TLS_AES_256_GCM_SHA384', 256, None, None, None) +[(3538261, True, 'TLSv1.3', 'TLS_AES_256_GCM_SHA384', 256, None, None, None)] ``` ## Go further diff --git a/pages/public_cloud/public_cloud_databases/postgresql_05_connect_python/guide.fr-fr.md b/pages/public_cloud/public_cloud_databases/postgresql_05_connect_python/guide.fr-fr.md index 171c9b0c4ad..14299632704 100644 --- a/pages/public_cloud/public_cloud_databases/postgresql_05_connect_python/guide.fr-fr.md +++ b/pages/public_cloud/public_cloud_databases/postgresql_05_connect_python/guide.fr-fr.md @@ -1,7 +1,7 @@ --- title: PostgreSQL - Connectez-vous avec Python (EN) excerpt: Connect to your Public Cloud Databases for PostgreSQL using the Python programming language -updated: 2022-04-04 +updated: 2025-10-08 --- ## Objective @@ -18,12 +18,12 @@ You can find an example on the [Github examples repository](https://github.com/o - A [Public Cloud project](/links/public-cloud/public-cloud) in your OVHcloud account. - A PostgreSQL database running on your OVHcloud Public Cloud Databases ([this guide](/pages/public_cloud/public_cloud_databases/databases_01_order_control_panel) can help you to meet this requirement) - [Configure your PostgreSQL instance](/pages/public_cloud/public_cloud_databases/postgresql_07_prepare_for_incoming_connections) to accept incoming connections -- A Python environment with a stable version and public network connectivity (Internet). This guide was made using Python 3.9.7. +- A Python environment with a stable version and public network connectivity (Internet). This guide was made using Python 3.13.5. ## Concept A PostgreSQL instance can be managed through multiple ways. -One of the easiest, yet powerful, is to use a Command Line Interface (CLI), as shown in our guide : [Connect to PostgreSQL with CLI](/pages/public_cloud/public_cloud_databases/postgresql_03_connect_cli). +One of the easiest, yet powerful, is to use a Command Line Interface (CLI), as shown in our guide: [Connect to PostgreSQL with CLI](/pages/public_cloud/public_cloud_databases/postgresql_03_connect_cli). Another way is to interact directly using a programming language, such as Python. Python is one of the major programming languages in the world, especially in the Data ecosystem. @@ -41,29 +41,18 @@ To interact with your PostgreSQL instance using Python, your development environ Please follow the official [Psycopg - PostgreSQL database adapter for Pytho](https://www.psycopg.org/docs/). to get the latest information. -Once your Python environment is set up and you begin executing a **python --version** in your command line interface (CLI), you should see information about the version as shown below : +Once your Python environment is set up and you begin executing a **python --version** in your command line interface (CLI), you should see information about the version as shown below: ```python laptop$ python3 --version -Python 3.9.7 +Python 3.13.5 ``` In the same console, by typing a **pip list** check if **psycopg2** is correctly installed : ```python -laptop$ pip list -Package Version ----------------------- ------- -cryptography 3.3.2 -mysql-connector-python 8.0.27 -pip 20.3.4 -protobuf 3.19.3 -psycopg2 2.8.6 -pyOpenSSL 20.0.1 -setuptools 52.0.0 -six 1.16.0 -wheel 0.34.2 -(...) +laptop$ pip list | grep psycopg2 +psycopg2 2.9.10 ``` We are now ready to learn how to connect to our PostgreSQL instance! @@ -79,18 +68,19 @@ In your Python environment, let's try a connection. ```python import psycopg2 -connection = psycopg2.connect("postgres://avnadmin:K93xxxxxxxxxxaBp@postgresql-57xxxxfc-o2xxxxb53.database.cloud.ovh.net:20184/defaultdb?sslmode=require") +connection = psycopg2.connect(dbname='defaultdb', user='', password='', host='postgresql-xxxxxxxx-yyyyyyyy.database.cloud.ovh.net', port='20184', sslmode='require') +pid = connection.get_backend_pid() cursor = connection.cursor() -cursor.execute("select * from pg_stat_ssl") -stat_ssl = cursor.fetchone() +cursor.execute(f'SELECT * FROM pg_stat_ssl WHERE pid = {pid}') +stat_ssl = cursor.fetchall() print(stat_ssl) ``` -After executing your Python code, result shown in the CLI should be like this : +After executing your Python code, result shown in the CLI should be like this: ```python -(590567, True, 'TLSv1.3', 'TLS_AES_256_GCM_SHA384', 256, None, None, None) +[(3538261, True, 'TLSv1.3', 'TLS_AES_256_GCM_SHA384', 256, None, None, None)] ``` ## Go further diff --git a/pages/public_cloud/public_cloud_databases/postgresql_05_connect_python/guide.it-it.md b/pages/public_cloud/public_cloud_databases/postgresql_05_connect_python/guide.it-it.md index c2c1b4739f4..c5c3f384718 100644 --- a/pages/public_cloud/public_cloud_databases/postgresql_05_connect_python/guide.it-it.md +++ b/pages/public_cloud/public_cloud_databases/postgresql_05_connect_python/guide.it-it.md @@ -1,7 +1,7 @@ --- title: PostgreSQL - Connect with Python excerpt: Connect to your Public Cloud Databases for PostgreSQL using the Python programming language -updated: 2022-04-04 +updated: 2025-10-08 --- ## Objective @@ -18,12 +18,12 @@ You can find an example on the [Github examples repository](https://github.com/o - A [Public Cloud project](/links/public-cloud/public-cloud) in your OVHcloud account. - A PostgreSQL database running on your OVHcloud Public Cloud Databases ([this guide](/pages/public_cloud/public_cloud_databases/databases_01_order_control_panel) can help you to meet this requirement) - [Configure your PostgreSQL instance](/pages/public_cloud/public_cloud_databases/postgresql_07_prepare_for_incoming_connections) to accept incoming connections -- A Python environment with a stable version and public network connectivity (Internet). This guide was made using Python 3.9.7. +- A Python environment with a stable version and public network connectivity (Internet). This guide was made using Python 3.13.5. ## Concept A PostgreSQL instance can be managed through multiple ways. -One of the easiest, yet powerful, is to use a Command Line Interface (CLI), as shown in our guide : [Connect to PostgreSQL with CLI](/pages/public_cloud/public_cloud_databases/postgresql_03_connect_cli). +One of the easiest, yet powerful, is to use a Command Line Interface (CLI), as shown in our guide: [Connect to PostgreSQL with CLI](/pages/public_cloud/public_cloud_databases/postgresql_03_connect_cli). Another way is to interact directly using a programming language, such as Python. Python is one of the major programming languages in the world, especially in the Data ecosystem. @@ -41,29 +41,18 @@ To interact with your PostgreSQL instance using Python, your development environ Please follow the official [Psycopg - PostgreSQL database adapter for Pytho](https://www.psycopg.org/docs/). to get the latest information. -Once your Python environment is set up and you begin executing a **python --version** in your command line interface (CLI), you should see information about the version as shown below : +Once your Python environment is set up and you begin executing a **python --version** in your command line interface (CLI), you should see information about the version as shown below: ```python laptop$ python3 --version -Python 3.9.7 +Python 3.13.5 ``` In the same console, by typing a **pip list** check if **psycopg2** is correctly installed : ```python -laptop$ pip list -Package Version ----------------------- ------- -cryptography 3.3.2 -mysql-connector-python 8.0.27 -pip 20.3.4 -protobuf 3.19.3 -psycopg2 2.8.6 -pyOpenSSL 20.0.1 -setuptools 52.0.0 -six 1.16.0 -wheel 0.34.2 -(...) +laptop$ pip list | grep psycopg2 +psycopg2 2.9.10 ``` We are now ready to learn how to connect to our PostgreSQL instance! @@ -79,18 +68,19 @@ In your Python environment, let's try a connection. ```python import psycopg2 -connection = psycopg2.connect("postgres://avnadmin:K93xxxxxxxxxxaBp@postgresql-57xxxxfc-o2xxxxb53.database.cloud.ovh.net:20184/defaultdb?sslmode=require") +connection = psycopg2.connect(dbname='defaultdb', user='', password='', host='postgresql-xxxxxxxx-yyyyyyyy.database.cloud.ovh.net', port='20184', sslmode='require') +pid = connection.get_backend_pid() cursor = connection.cursor() -cursor.execute("select * from pg_stat_ssl") -stat_ssl = cursor.fetchone() +cursor.execute(f'SELECT * FROM pg_stat_ssl WHERE pid = {pid}') +stat_ssl = cursor.fetchall() print(stat_ssl) ``` -After executing your Python code, result shown in the CLI should be like this : +After executing your Python code, result shown in the CLI should be like this: ```python -(590567, True, 'TLSv1.3', 'TLS_AES_256_GCM_SHA384', 256, None, None, None) +[(3538261, True, 'TLSv1.3', 'TLS_AES_256_GCM_SHA384', 256, None, None, None)] ``` ## Go further diff --git a/pages/public_cloud/public_cloud_databases/postgresql_05_connect_python/guide.pl-pl.md b/pages/public_cloud/public_cloud_databases/postgresql_05_connect_python/guide.pl-pl.md index c2c1b4739f4..c5c3f384718 100644 --- a/pages/public_cloud/public_cloud_databases/postgresql_05_connect_python/guide.pl-pl.md +++ b/pages/public_cloud/public_cloud_databases/postgresql_05_connect_python/guide.pl-pl.md @@ -1,7 +1,7 @@ --- title: PostgreSQL - Connect with Python excerpt: Connect to your Public Cloud Databases for PostgreSQL using the Python programming language -updated: 2022-04-04 +updated: 2025-10-08 --- ## Objective @@ -18,12 +18,12 @@ You can find an example on the [Github examples repository](https://github.com/o - A [Public Cloud project](/links/public-cloud/public-cloud) in your OVHcloud account. - A PostgreSQL database running on your OVHcloud Public Cloud Databases ([this guide](/pages/public_cloud/public_cloud_databases/databases_01_order_control_panel) can help you to meet this requirement) - [Configure your PostgreSQL instance](/pages/public_cloud/public_cloud_databases/postgresql_07_prepare_for_incoming_connections) to accept incoming connections -- A Python environment with a stable version and public network connectivity (Internet). This guide was made using Python 3.9.7. +- A Python environment with a stable version and public network connectivity (Internet). This guide was made using Python 3.13.5. ## Concept A PostgreSQL instance can be managed through multiple ways. -One of the easiest, yet powerful, is to use a Command Line Interface (CLI), as shown in our guide : [Connect to PostgreSQL with CLI](/pages/public_cloud/public_cloud_databases/postgresql_03_connect_cli). +One of the easiest, yet powerful, is to use a Command Line Interface (CLI), as shown in our guide: [Connect to PostgreSQL with CLI](/pages/public_cloud/public_cloud_databases/postgresql_03_connect_cli). Another way is to interact directly using a programming language, such as Python. Python is one of the major programming languages in the world, especially in the Data ecosystem. @@ -41,29 +41,18 @@ To interact with your PostgreSQL instance using Python, your development environ Please follow the official [Psycopg - PostgreSQL database adapter for Pytho](https://www.psycopg.org/docs/). to get the latest information. -Once your Python environment is set up and you begin executing a **python --version** in your command line interface (CLI), you should see information about the version as shown below : +Once your Python environment is set up and you begin executing a **python --version** in your command line interface (CLI), you should see information about the version as shown below: ```python laptop$ python3 --version -Python 3.9.7 +Python 3.13.5 ``` In the same console, by typing a **pip list** check if **psycopg2** is correctly installed : ```python -laptop$ pip list -Package Version ----------------------- ------- -cryptography 3.3.2 -mysql-connector-python 8.0.27 -pip 20.3.4 -protobuf 3.19.3 -psycopg2 2.8.6 -pyOpenSSL 20.0.1 -setuptools 52.0.0 -six 1.16.0 -wheel 0.34.2 -(...) +laptop$ pip list | grep psycopg2 +psycopg2 2.9.10 ``` We are now ready to learn how to connect to our PostgreSQL instance! @@ -79,18 +68,19 @@ In your Python environment, let's try a connection. ```python import psycopg2 -connection = psycopg2.connect("postgres://avnadmin:K93xxxxxxxxxxaBp@postgresql-57xxxxfc-o2xxxxb53.database.cloud.ovh.net:20184/defaultdb?sslmode=require") +connection = psycopg2.connect(dbname='defaultdb', user='', password='', host='postgresql-xxxxxxxx-yyyyyyyy.database.cloud.ovh.net', port='20184', sslmode='require') +pid = connection.get_backend_pid() cursor = connection.cursor() -cursor.execute("select * from pg_stat_ssl") -stat_ssl = cursor.fetchone() +cursor.execute(f'SELECT * FROM pg_stat_ssl WHERE pid = {pid}') +stat_ssl = cursor.fetchall() print(stat_ssl) ``` -After executing your Python code, result shown in the CLI should be like this : +After executing your Python code, result shown in the CLI should be like this: ```python -(590567, True, 'TLSv1.3', 'TLS_AES_256_GCM_SHA384', 256, None, None, None) +[(3538261, True, 'TLSv1.3', 'TLS_AES_256_GCM_SHA384', 256, None, None, None)] ``` ## Go further diff --git a/pages/public_cloud/public_cloud_databases/postgresql_05_connect_python/guide.pt-pt.md b/pages/public_cloud/public_cloud_databases/postgresql_05_connect_python/guide.pt-pt.md index c2c1b4739f4..c5c3f384718 100644 --- a/pages/public_cloud/public_cloud_databases/postgresql_05_connect_python/guide.pt-pt.md +++ b/pages/public_cloud/public_cloud_databases/postgresql_05_connect_python/guide.pt-pt.md @@ -1,7 +1,7 @@ --- title: PostgreSQL - Connect with Python excerpt: Connect to your Public Cloud Databases for PostgreSQL using the Python programming language -updated: 2022-04-04 +updated: 2025-10-08 --- ## Objective @@ -18,12 +18,12 @@ You can find an example on the [Github examples repository](https://github.com/o - A [Public Cloud project](/links/public-cloud/public-cloud) in your OVHcloud account. - A PostgreSQL database running on your OVHcloud Public Cloud Databases ([this guide](/pages/public_cloud/public_cloud_databases/databases_01_order_control_panel) can help you to meet this requirement) - [Configure your PostgreSQL instance](/pages/public_cloud/public_cloud_databases/postgresql_07_prepare_for_incoming_connections) to accept incoming connections -- A Python environment with a stable version and public network connectivity (Internet). This guide was made using Python 3.9.7. +- A Python environment with a stable version and public network connectivity (Internet). This guide was made using Python 3.13.5. ## Concept A PostgreSQL instance can be managed through multiple ways. -One of the easiest, yet powerful, is to use a Command Line Interface (CLI), as shown in our guide : [Connect to PostgreSQL with CLI](/pages/public_cloud/public_cloud_databases/postgresql_03_connect_cli). +One of the easiest, yet powerful, is to use a Command Line Interface (CLI), as shown in our guide: [Connect to PostgreSQL with CLI](/pages/public_cloud/public_cloud_databases/postgresql_03_connect_cli). Another way is to interact directly using a programming language, such as Python. Python is one of the major programming languages in the world, especially in the Data ecosystem. @@ -41,29 +41,18 @@ To interact with your PostgreSQL instance using Python, your development environ Please follow the official [Psycopg - PostgreSQL database adapter for Pytho](https://www.psycopg.org/docs/). to get the latest information. -Once your Python environment is set up and you begin executing a **python --version** in your command line interface (CLI), you should see information about the version as shown below : +Once your Python environment is set up and you begin executing a **python --version** in your command line interface (CLI), you should see information about the version as shown below: ```python laptop$ python3 --version -Python 3.9.7 +Python 3.13.5 ``` In the same console, by typing a **pip list** check if **psycopg2** is correctly installed : ```python -laptop$ pip list -Package Version ----------------------- ------- -cryptography 3.3.2 -mysql-connector-python 8.0.27 -pip 20.3.4 -protobuf 3.19.3 -psycopg2 2.8.6 -pyOpenSSL 20.0.1 -setuptools 52.0.0 -six 1.16.0 -wheel 0.34.2 -(...) +laptop$ pip list | grep psycopg2 +psycopg2 2.9.10 ``` We are now ready to learn how to connect to our PostgreSQL instance! @@ -79,18 +68,19 @@ In your Python environment, let's try a connection. ```python import psycopg2 -connection = psycopg2.connect("postgres://avnadmin:K93xxxxxxxxxxaBp@postgresql-57xxxxfc-o2xxxxb53.database.cloud.ovh.net:20184/defaultdb?sslmode=require") +connection = psycopg2.connect(dbname='defaultdb', user='', password='', host='postgresql-xxxxxxxx-yyyyyyyy.database.cloud.ovh.net', port='20184', sslmode='require') +pid = connection.get_backend_pid() cursor = connection.cursor() -cursor.execute("select * from pg_stat_ssl") -stat_ssl = cursor.fetchone() +cursor.execute(f'SELECT * FROM pg_stat_ssl WHERE pid = {pid}') +stat_ssl = cursor.fetchall() print(stat_ssl) ``` -After executing your Python code, result shown in the CLI should be like this : +After executing your Python code, result shown in the CLI should be like this: ```python -(590567, True, 'TLSv1.3', 'TLS_AES_256_GCM_SHA384', 256, None, None, None) +[(3538261, True, 'TLSv1.3', 'TLS_AES_256_GCM_SHA384', 256, None, None, None)] ``` ## Go further diff --git a/pages/public_cloud/public_cloud_databases/postgresql_05_connect_python/images/ip_authorize.png b/pages/public_cloud/public_cloud_databases/postgresql_05_connect_python/images/ip_authorize.png deleted file mode 100644 index 9429239b425..00000000000 Binary files a/pages/public_cloud/public_cloud_databases/postgresql_05_connect_python/images/ip_authorize.png and /dev/null differ diff --git a/pages/public_cloud/public_cloud_databases/postgresql_05_connect_python/images/mysql_04_connect_php-20220124153927876.png b/pages/public_cloud/public_cloud_databases/postgresql_05_connect_python/images/mysql_04_connect_php-20220124153927876.png deleted file mode 100644 index 5eca3fc3c9e..00000000000 Binary files a/pages/public_cloud/public_cloud_databases/postgresql_05_connect_python/images/mysql_04_connect_php-20220124153927876.png and /dev/null differ diff --git a/pages/public_cloud/public_cloud_databases/postgresql_05_connect_python/images/mysql_04_connect_php-20220124154604558.png b/pages/public_cloud/public_cloud_databases/postgresql_05_connect_python/images/mysql_04_connect_php-20220124154604558.png deleted file mode 100644 index bc099b42a0c..00000000000 Binary files a/pages/public_cloud/public_cloud_databases/postgresql_05_connect_python/images/mysql_04_connect_php-20220124154604558.png and /dev/null differ diff --git a/pages/public_cloud/public_cloud_databases/postgresql_05_connect_python/images/user_creation.png b/pages/public_cloud/public_cloud_databases/postgresql_05_connect_python/images/user_creation.png deleted file mode 100644 index 6cce6b86ddb..00000000000 Binary files a/pages/public_cloud/public_cloud_databases/postgresql_05_connect_python/images/user_creation.png and /dev/null differ diff --git a/pages/public_cloud/public_cloud_databases/postgresql_05_connect_python/images/user_enabled.png b/pages/public_cloud/public_cloud_databases/postgresql_05_connect_python/images/user_enabled.png deleted file mode 100644 index a45c29af4eb..00000000000 Binary files a/pages/public_cloud/public_cloud_databases/postgresql_05_connect_python/images/user_enabled.png and /dev/null differ