|
| 1 | +--- |
| 2 | +meta: |
| 3 | + title: How to manage databases |
| 4 | + description: Discover how to manage databases for Scaleway Web Hosting plans from the console. |
| 5 | + h1: How to manage databases |
| 6 | + paragraph: Discover how to manage databases for Scaleway Web Hosting plans from the console. |
| 7 | +tags: webhosting |
| 8 | +dates: |
| 9 | + validation: 2024-10-02 |
| 10 | + posted: 2024-10-02 |
| 11 | +categories: |
| 12 | + - managed-services |
| 13 | +--- |
| 14 | + |
| 15 | +You can create and manage databases for your website and applications, including user creation and password updates directly from the Scaleway console. |
| 16 | + |
| 17 | + |
| 18 | +<Macro id="requirements" /> |
| 19 | + |
| 20 | +- A Scaleway account logged into the [console](https://console.scaleway.com) |
| 21 | +- [Owner](/identity-and-access-management/iam/concepts/#owner) status or [IAM permissions](/identity-and-access-management/iam/concepts/#permission) allowing you to perform actions in the intended Organization |
| 22 | +- [Registered a domain name](/network/domains-and-dns/how-to/register-internal-domain/) at Scaleway or another registrar |
| 23 | +- A Web Hosting plan |
| 24 | + |
| 25 | +## How to create a database |
| 26 | + |
| 27 | +1. Click **Web Hosting** in the **Managed Services** section of the [console](https://console.scaleway.com/) side menu. The **Web Hosting** overview page displays. |
| 28 | +2. Click <Icon name="seeMore" /> or the domain name of the Web Hosting service you want to configure. The **Hosting information** page displays. |
| 29 | +3. Click the **Databases** tab to display information related to your databases. |
| 30 | +4. Click **Create database** in the **Database** section of the page. A pop-up displays. |
| 31 | +5. Enter a name for the database, select an existing database user from the drop-down list or create a new one by entering a username and password. Click **Create database** to create the database. |
| 32 | +6. Enter the username and password for your FTP account. Then click **Create FTP account** to submit the form and create the account. |
| 33 | + |
| 34 | +## How to delete a database |
| 35 | + |
| 36 | +1. Click **Web Hosting** in the **Managed Services** section of the [console](https://console.scaleway.com/) side menu. The **Web Hosting** overview page displays. |
| 37 | +2. Click <Icon name="seeMore" /> or the domain name of the Web Hosting service you want to configure. The **Hosting information** page displays. |
| 38 | +3. Click the **Databases** tab to display information related to your databases. |
| 39 | +4. Click <Icon name="delete" /> next to the database you want to delete. A pop-up displays. |
| 40 | +5. Click **Delete database** to confirm the action and delete the database. |
| 41 | + |
| 42 | +## How to create a database user |
| 43 | + |
| 44 | +1. Click **Web Hosting** in the **Managed Services** section of the [console](https://console.scaleway.com/) side menu. The **Web Hosting** overview page displays. |
| 45 | +2. Click <Icon name="seeMore" /> or the domain name of the Web Hosting service you want to configure. The **Hosting information** page displays. |
| 46 | +3. Click the **Databases** tab to display information related to your databases. |
| 47 | +4. Click **Create database user** in the **Database users** section of the page to create a new one. A pop-up displays. |
| 48 | +5. Enter a username and password. Then click **Create database user** to create the user. |
| 49 | + |
| 50 | +## How to update the password of a database user |
| 51 | + |
| 52 | +1. Click **Web Hosting** in the **Managed Services** section of the [console](https://console.scaleway.com/) side menu. The **Web Hosting** overview page displays. |
| 53 | +2. Click <Icon name="seeMore" /> or the domain name of the Web Hosting service you want to configure. The **Hosting information** page displays. |
| 54 | +3. Click the **Databases** tab to display information related to your databases. |
| 55 | +4. Click <Icon name="more" /> > **Change password** next to the database user whose password you want to change. A pop-up displays. |
| 56 | +5. Enter the new password and click **Update database user** to submit the form and update the password. |
| 57 | + |
| 58 | + |
| 59 | +## How to delete a database user |
| 60 | + |
| 61 | +1. Click **Web Hosting** in the **Managed Services** section of the [console](https://console.scaleway.com/) side menu. The **Web Hosting** overview page displays. |
| 62 | +2. Click <Icon name="seeMore" /> or the domain name of the Web Hosting service you want to configure. The **Hosting information** page displays. |
| 63 | +3. Click the **Databases** tab to display information related to your databases. |
| 64 | +4. Click <Icon name="more" /> > **Delete** next to the database user you want to delete. A pop-up displays. |
| 65 | +5. Click **Delete database user** to confirm the action and delete the user. |
0 commit comments