How do I create a database?
Overview
This article explains how to create a MySQL database on the (gs) Grid-Service.
Instructions
- Log into your AccountCenter.
- Click on your primary domain.
-
Click on Manage Databases, see Figure 1.

Figure 1. -
Click on the Add a Database tab, see Figure 2.
NOTE:
As of April 2011, (mt) Media Temple no longer supports PostgreSQL databases for the (gs) Grid-Service. Current users are encouraged to migrate to a (ve) Server. Please see this article on installing PostgreSQL on a (ve).
-
Type in your database name and click next when finished, see Figure 3.
- You should now see your database listed in the Database List tab, see Figure 4.
- To view your database in phpMyAdmin, click on Admin.
Resources
This article provides instructions to add a database with an associated database user to one of your domains on your (dv) Dedicated-Virtual Server 4.0.
Instructions
If the screenshots you see here don't match your version of Plesk, please see the (dv) Dedicated-Virtual Server 3.5 section. These screenshots are for the (dv) Dedicated-Virtual Server 4.0 and Plesk 10.
-
Log into the Plesk Control Panel for your domain. See Figure 1:

Figure 1. The Plesk Control Panel. Click for a larger view.If you log into Plesk with the admin user, you will be in the Server Administration Panel by default. To get to the Control Panel, click on Domains, then on the Control Panel link next to your domain.
You can also create a user that will log into the Control Panel by default, which will save you a few clicks on day-to-day webmaster tasks. See Control Panel user.
- From the Home page, click on Websites & Domains. See Figure 2:
-
Click on Show Advanced Options. See Figure 3 for the location of this link.

Figure 3: Click on "Show Advanced Options" for an additional menu. - Next, click on Databases. See Figure 4:
- Click on Add New Database. See Figure 5:
-
Complete the form by entering your desired database name and then click the OK button. See Figure 6:

Figure 6: Use any name for your database that you can easily recognize its purpose. - You will receive a message that the database was successfully created. See Figure 7:
- Now, we'll create a database user. Click on Add New Database User. See Figure 8:
- Complete the form and click the OK button. See Figure 9:
- That's it. You have successfully created a database and a user for that database.
Now, you may want to import a database to your new server. See this article for instructions: Export and import MySQL databases.
This article provides instructions to add a database with an associated database user to one of your domains on your (dv) Dedicated-Virtual Server.
End of Life Warning
This service has a pending End of Life. Please move to a current service as soon as possible. For more information, please see: (dv) Dedicated-Virtual 4.0: Migration Information.
Instructions
- Log into Plesk.
- Click on Domains on the left.
- Click on your domain.
- Click on Databases.
- Click on Add New Database.
-
Fill in the details for the database, then click OK.
- Database name: What you want to call your database.
- Type: MySQL is available by default.
- Database server: The Local MySQL server is available by default.
- Now, click Add New Database User.
-
Fill in your user details, then click OK:
- Database user name: The username for accessing this database.
- Old password: None.
- New password: The password for accessing this database.
- Confirm password: Type the same password.
- Now, you can access phpMyAdmin for this database, if you want to. Click on DB WebAdmin. You may have to enable popups in your browser for this site.
-
You also now have all of the necessary information for your database connection script and/or CMS:
- Host: localhost
- Database name: The database name you created in Step 5.
- Username: The username you created in Step 7.
- Password: The password you created in Step 7.






