How to create a database in Plesk
This guide will explain how to create databases for domains in Plesk using either the Power-user or Service-provider interfaces.
Power User interface
Follow these steps to create a new database in Plesk with the Power-user interface:
- Open the databases menu from the left column of the Plesk panel.
- Click the domain name/subscription you want to add a database for.
- Click the add database button.
- Enter a Database name after the prefix that’s automatically filled in.
- The Create a database user tick-box should be enabled by default.
- Enter a database username.
- Enter a password for the database and re-enter into the confirm password field or select generate to automatically generate a strong password.
- Select the Access Control settings for the database. It’s recommended to select Allow local connections only unless you need to access the database remotely. If you need to enable remote access to the database, you can enable connections from any host or restrict access to specific IP addresses by selecting the Allow remote connections from option and then entering a list of the allowed IP addresses.
- Select the OK button to create the database.
Service Provider interface
- Open the domains menu from the left column of the Plesk panel.
- Click the domain name that you want to create a database for from the list on the following page.
- Click the databases link from the domain name control panel page.
- Click the add database button.
- Enter a Database name after the prefix that’s automatically filled in.
- The Create a database user tick-box should be enabled by default.
- Enter a database username.
- Enter a password for the database and re-enter into the confirm password field or select generate to automatically generate a strong password.
- Select the Access Control settings for the database. It’s recommended to select Allow local connections only unless you need to access the database remotely. If you need to enable remote access to the database, you can enable connections from any host or restrict access to specific IP addresses by selecting the Allow remote connections from option and then entering a list of the allowed IP addresses.
- Select the OK button to create the database.