Step 1: Log in to Plesk
Go to the address provided by your hosting provider (usually: https://yourdomain.com:8443).
🔑 Enter your administrator username and password.
Step 2: Go to the "Databases" section
In the left menu, click "Websites & Domains", then select "Databases".
Step 3: Click "Add Database"
This button is located at the top of the page.
Step 4: Fill out the database creation form
Field | Description |
---|---|
Database name | The name of the database (e.g., mydb_project) |
Related site | The domain to which the database will be linked (can be left unchanged) |
Database user name | Username (e.g., dbuser_myproject) |
Password | Password for this user |
Confirm password | Repeat the password |
✅ Step 5: Click "OK" or "Create"
Once the form is filled in, click the button to create the database.
🛡️ Security tips when creating a database:
-
Use unique passwords — do not use the same one as for Plesk or FTP.
-
Password complexity: at least 12 characters, including uppercase and lowercase letters, numbers, and symbols.
-
Do not name the database user the same as the database — this makes hacking easier.
-
Create a separate user for each application (do not use “root”).
-
Restrict database access only to the scripts/sites that need it.