How to create a MySQL database in Plesk Print

  • 1

Create a MySQL database in Plesk

Applies to: Web Hosting services on Hank where database management is exposed in Plesk.

Create the database from Plesk before you start a manual app install, a migration, or a dump import. Save the connection details as soon as you finish.

Before you start

  • Know which domain or application the database belongs to.
  • Choose a strong database password before you start.

Steps on OneNet Servers

  1. Log in to Plesk and open Databases.
  2. Choose Add Database.
  3. Enter the database name and attach it to the correct site.
  4. Create or assign the database user and save the password somewhere safe.
  5. Open phpMyAdmin if you need to import an SQL dump or verify the database was created cleanly.

What you should see next

  • The database and user should appear in the Plesk database list.
  • You should be able to connect from your application with the exact credentials you just created.

Common issues

  • The most common failure is using the wrong database username or an outdated password inside the app.
  • If you are restoring an app, importing the dump is only part of the job. The application config must also point to the new database details.

Visual guide

Plesk database management screenshot 1

Plesk database management screenshot 2

Plesk database management screenshot 3

Plesk database management screenshot 4

Next steps on OneNet Servers

When to contact support: Contact support if the database appears in Plesk but phpMyAdmin or the application still cannot connect with the same credentials.


Was this answer helpful?

« Back