Create and manage MySQL databases
Each database on a server belongs to an app. An app can have more than one database. When you create a WordPress app, a database is created automatically. Deleting an app deletes the app’s databases.
Creating a database also creates a database user. A database user can only access the database for which the database user was created.
Create a database
To create a database for an app:
- Go to the Apps page in the dashboard and click on the name of the app.
- Click on Databases.
- Click on Create Database.
- Enter a Name, Username, and Password for the database.
- Click on Create Database.
Delete a database
- Go to the Apps page in the dashboard and click on the name of the app.
- Click on Databases.
- Click on the name of the database.
- Click on Delete.
- Click on Confirm Delete.
Change a database user’s password
When you change a database user’s password, you will need to update the
database password in your app’s configuration files.
For WordPress, the database password is in the app’s wp-config.php
file.
To change a database user’s password:
- Go to the Apps page in the dashboard and click on the name of the app.
- Click on Databases.
- Click on the name of the database.
- In the Change Database User Password form, enter the New Password for the database user.
- Click on Update Password.