To create a database in Plesk, please follow the steps below:
1. open Plesk and navigate to the “Databases” section.
2. click on “Add database”.
When creating the database, you can make the following settings:
- “Database name”: Enter a name for your database.
- “Associated website” (optional): Here you can link the database directly to a specific website, if desired. However, this option is not mandatory.
- “Database username”: Select a user name for accessing the database.
- “Password”: Set a password for the database user. You can either use a randomly generated password or enter your own password.
- “Access control”: In this section, you can define the access control for the database. You have the following options to choose from:
- “Allow local connections only”: With this option, the database can only be accessed via local connections and is therefore optimally protected.
- “Allow remote connections from any host”: If you select this option, the database can be accessed from any host or IP address.
- “Allow remote connections from”: This option allows you to restrict access to certain IP addresses.
Please note that it is important to configure the access settings according to your requirements and security needs.