A database stores the information used by applications such as WordPress or an online shop. This guide explains how to create a database and its login credentials in Plesk.
Create the database
- Log in to Plesk with permission to manage databases for the subscription.
- Open Websites & Domains > Databases and click Add Database.
- Enter a database name.
- Select the database server or type if more than one is available. MySQL or MariaDB and, on supported Windows plans, Microsoft SQL Server may be offered.
- Select the related website where appropriate.
- Create a database user with a unique username and a strong password, or choose an existing user if the form provides that option. Grant access to this database rather than all databases unless broader access is required.
- Click OK and check that the database appears in the list.
Connect your application
Record the database name, username, password, server address and port shown by Plesk. Enter these in your application’s database settings. Associating a database with a website in Plesk does not automatically configure the application to use it.
Keep remote access restricted to the connections the application needs.
