How Do I Create a MySQL Database? Using phpMyAdmin

Most software such as WordPress, OpenCart and PrestaShop stores its data in a MySQL / MariaDB database. Before installing it, you need to create a database and a database user.

Creating a database in Plesk

  1. Log in to your Plesk panel at https://yourdomain.com:8443 or from the service page in your client area.
  2. Click Databases in the left menu and press Add Database.
  3. Enter the database name and choose the related website.
  4. Set a database user name and a strong password, then click OK.Plesk Add Database form

Connection details

SettingValue
Server (host)localhost
Port3306
Database name, user name, passwordThe values you set when creating it

On Windows hosting packages you can also create MSSQL databases alongside MySQL / MariaDB; the steps are the same, just choose MSSQL as the database type.

What can I do with phpMyAdmin?

In Plesk, open phpMyAdmin with the phpMyAdmin link next to your database on the Databases page.

  • Back up: select the database and download it in SQL format from the Export tab.
  • Restore: select the database and upload the .sql file from the Import tab.
  • Repair tables: tick the tables and choose Repair table from the menu below.

Troubleshooting

"Error establishing a database connection"
The database name, user name or password in the configuration file is wrong. Check the details; if needed, reset the user's password in Plesk and enter it in the configuration file.
Need help? Open a support ticket from your client area or call +90 216 348 35 03.
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Where Do I Manage My Email Accounts?

You manage your email accounts in your hosting control panel. Creating accounts, changing...

What Is a Subdomain and How Do I Create One?

A subdomain is a separate address added in front of your domain. For example, for yourdomain.com...

Do You Support ASP and ASP.NET?

Yes. webevi Windows hosting packages come with ASP and ASP.NET support, and you can also use...

Can I Host Any Kind of Website with webevi?

You can host any website on webevi servers that complies with the law and generally accepted...

Can I Send Bulk Email?

Unsolicited bulk email (spam) cannot be sent with webevi hosting. You can send a reasonable...