Skip to content

Commit 5f94632

Browse files
committed
docs(add): add remote sql page
1 parent b90fca5 commit 5f94632

File tree

5 files changed

+54
-0
lines changed

5 files changed

+54
-0
lines changed

menu/navigation.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3165,6 +3165,10 @@
31653165
"label": "Manage databases",
31663166
"slug": "manage-databases"
31673167
},
3168+
{
3169+
"label": "Allow remote access to Web Hosting databases",
3170+
"slug": "remote-access-wbh-db"
3171+
},
31683172
{
31693173
"label": "Manage email accounts",
31703174
"slug": "manage-email-accounts"
107 KB
Loading
127 KB
Loading
69.1 KB
Loading
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
---
2+
title: How to allow remote access to your Web Hosting databases
3+
description: This page explains how to allow remote access to your Web Hosting databases via cPanel.
4+
tags: remote webhosting database
5+
dates:
6+
validation: 2025-07-25
7+
posted: 2025-07-25
8+
---
9+
import Requirements from '@macros/iam/requirements.mdx'
10+
import CopyDBID from './assets/scaleway-copy-ip-db.webp'
11+
import RemoteDBAccess from './assets/scaleway-remote-db-access.webp'
12+
import RemoteDBAccessPage from './assets/scaleway-remote-db-access-page.webp'
13+
14+
This page shows you how to allow remote access to your Web Hosting databases.
15+
16+
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.
17+
18+
<Requirements />
19+
20+
- A Scaleway account logged into the [console](https://console.scaleway.com)
21+
- [Owner](/iam/concepts/#owner) status or [IAM permissions](/iam/concepts/#permission) allowing you to perform actions in the intended Organization
22+
- [Ordered](/webhosting/how-to/order-webhosting/) a **cPanel** Web Hosting plan
23+
- [Created](/webhosting/how-to/manage-databases/#how-to-create-a-database) at least one database
24+
25+
26+
## How to allow remote access to your Web Hosting database
27+
28+
1. Click **Web Hosting** in the **Domains & Web Hosting** section of the [console](https://console.scaleway.com/) side menu.
29+
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.
30+
3. Click the **Databases** tab, then click the IP address displayed next to **Databases IP** to copy it.
31+
<Lightbox image={CopyDBID} alt="" />
32+
<Message type="tip">
33+
Make sure that you keep it copied, as you will need it in the next steps.
34+
</Message>
35+
4. Click the **Overview** tab, then click **Open hosting dashboard**. The cPanel login page displays in a new tab.
36+
5. Log in to cPanel using your username and password.
37+
6. In the cPanel search bar type `Remote Database Access` and click the first result that displays in the drop-down.
38+
<Lightbox image={RemoteDBAccess} alt="" />
39+
7. In the **Host** field, paste the IP address you have copied in step 3.
40+
<Lightbox image={RemoteDBAccessPage} alt="" />
41+
42+
<Message type="note">
43+
A host is the IP address of the device or server you want to allow to connect to your MySQL database remotely.
44+
</Message>
45+
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.)
46+
9. Click **Add Host** to confirm. A green message box displays informing you that the IP address was added as a host.
47+
48+
<Message type="important">
49+
Fore security reasons, we recommend only adding trusted IP addresses.
50+
</Message>

0 commit comments

Comments
 (0)