# Create a Database and User in Plesk

https://ferkesh.net/uk/baza-znan/stattia/plesk-create-database

![Diagram linking Domain subscription, Database, Scoped user and App connection.](https://ferkesh.net/kb-media/ferkesh-guide-diagrams-batch-02.svg#plesk-create-database)

Create a separate database and application user through the subscription that owns the site. An application usually needs the database name, server address, username and password. The host, engine and features may differ between subscriptions. Ask your provider if a control is missing.

## Create and scope the database user

Open Websites & Domains for the target domain, choose Databases and use Add Database. Select the engine and server offered for your site, then enter a name that distinguishes the new database from existing production records. If the application only needs this database, create or choose a user scoped to that database. Avoid sharing a server administrator account with the application. Enable remote connections only when an authorized application needs them and the provider can restrict the source.

## Verify on an isolated copy where practical

Save the exact connection values in your approved password manager or secret store. Protect credentials in the application’s supported configuration file. Use the supplied database hostname instead of assuming localhost. Configure a disposable or staging copy first and complete a read-only connection check. If an import is needed, confirm the database selection before bringing in any SQL file; existing tables may conflict.

## Diagnose a failure

Access denied usually warrants checking the username, password, assigned database and permitted host. A timeout points more toward reachability, port, database service or remote access policy. Collect the sanitized error and time for your provider. Keep the working production database and account available throughout testing.

## Related guides

- [How to Upload Website Files with Plesk File Manager](https://ferkesh.net/knowledgebase/article/plesk-file-manager-upload)
- [How to Change a Website’s PHP Version in Plesk](https://ferkesh.net/knowledgebase/article/plesk-php-version)
- [WordPress Migration Checklist for an Existing Site](https://ferkesh.net/knowledgebase/article/wordpress-migration-checklist)
- [Plesk category](https://ferkesh.net/knowledgebase/category/plesk)

## Official references

- [Plesk database administration](https://docs.plesk.com/en-US/obsidian/customer-guide/website-databases/creating-databases.65157/)
- [Plesk quick start for websites](https://docs.plesk.com/en-US/obsidian/quick-start-guide/getting-started-with-plesk.74372/)

Ferkesh Hosting. Last reviewed November 26, 2026.
