Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions menu/navigation.json
Original file line number Diff line number Diff line change
Expand Up @@ -3165,6 +3165,10 @@
"label": "Manage databases",
"slug": "manage-databases"
},
{
"label": "Allow remote access to Web Hosting databases",
"slug": "remote-access-wbh-db"
},
{
"label": "Manage email accounts",
"slug": "manage-email-accounts"
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
50 changes: 50 additions & 0 deletions pages/webhosting/how-to/remote-access-wbh-db.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
---
title: How to allow remote access to your Web Hosting databases
description: This page explains how to allow remote access to your Web Hosting databases via cPanel.
tags: remote webhosting database
dates:
validation: 2025-07-25
posted: 2025-07-25
---
import Requirements from '@macros/iam/requirements.mdx'
import CopyDBID from './assets/scaleway-copy-ip-db.webp'
import RemoteDBAccess from './assets/scaleway-remote-db-access.webp'
import RemoteDBAccessPage from './assets/scaleway-remote-db-access-page.webp'

This page shows you how to allow remote access to your Web Hosting databases.

By default, Web Hosting databases can only be accessed from within your hosting environment for security reasons. If you want to connect to your MySQL database remotely (for example, from your computer or a third-party server), you need to add the IP address of the device as an authorized host in cPanel.

<Requirements />

- A Scaleway account logged into the [console](https://console.scaleway.com)
- [Owner](/iam/concepts/#owner) status or [IAM permissions](/iam/concepts/#permission) allowing you to perform actions in the intended Organization
- [Ordered](/webhosting/how-to/order-webhosting/) a **cPanel** Web Hosting plan
- [Created](/webhosting/how-to/manage-databases/#how-to-create-a-database) at least one database


## How to allow remote access to your Web Hosting database

1. Click **Web Hosting** in the **Domains & Web Hosting** section of the [console](https://console.scaleway.com/) side menu.
2. Click <Icon name="more" /> and **More info**, or the domain name of the Web Hosting you want to configure. The **Hosting information** page displays.
3. Click the **Databases** tab, then click the IP address displayed next to **Databases IP** to copy it.
<Lightbox image={CopyDBID} alt="" />
<Message type="tip">
Make sure that you keep it copied, as you will need it in the next steps.
</Message>
4. Click the **Overview** tab, then click **Open hosting dashboard**. The cPanel login page displays in a new tab.
5. Log in to cPanel using your username and password.
6. In the cPanel search bar type `Remote Database Access` and click the first result that displays in the drop-down.
<Lightbox image={RemoteDBAccess} alt="" />
7. In the **Host** field, paste the IP address you have copied in step 3.
<Lightbox image={RemoteDBAccessPage} alt="" />

<Message type="note">
A host is the IP address of the device or server you want to allow to connect to your MySQL database remotely.
</Message>
8. Optionally, add a comment in the **Comment** field. For example you can specify who the host is (`my-computer`, `IP-address-from-work`, etc.)
9. Click **Add Host** to confirm. A green message box displays informing you that the IP address was added as a host.

<Message type="important">
Fore security reasons, we recommend only adding trusted IP addresses.
</Message>
Loading