Flash Sale:75% Off Hosting + Free DomainEnds in13h47m14sView Plans
Hostvento logoHostvento

Create an MS SQL Database and User in Plesk

This guide shows you how to make a Microsoft SQL Server database and a user for it in Plesk.

Plesk2 min read16 steps6 screenshots

What is MS SQL?

A database is a place where a website stores its data, like a digital filing cabinet. MS SQL (Microsoft SQL Server) is one kind of database. It is often used by ASP.NET websites. It runs on Windows servers.

A database user is a login that the website uses to open the database. Ask Hostvento support whether MS SQL is on your plan. You need a Windows hosting plan with MS SQL support.

Steps to create the database

  1. Log in to Plesk.
  2. Click Websites & Domains.
  3. Find your domain and click Databases.
  4. Click Add Database.
    Screenshot: Click Add Database .
    Screenshot: Click Add Database .
  5. Type a Database name. Use letters and numbers. No spaces.
  6. In the Type menu, choose Microsoft SQL Server.
  7. Choose the Database server if the menu shows more than one.
  8. Look at the Related Site field. Pick your domain.

Steps to create the user

You can do this on the same screen.

  1. Type a Database user name.
    Screenshot: Type a Database user name .
  2. Type a strong Password. Use the generate button if there is one. A strong password mixes letters, numbers and symbols.
  3. Type the password again to confirm it.
  4. Click OK.

Plesk now shows your new database in the list. Write down the database name, user name and password. Your site needs them.

Add more users later

  1. Go to Websites & Domains and then Databases.
  2. Click User Management.
  3. Click Add Database User.
  4. Pick the database, type the name and password, then click OK.
    Screenshot: Pick the database, type the name and password, then click OK .

Connect your site

Put the details in your site's configuration file. For ASP.NET, this is often web.config. It looks like this.

Server=SERVER_NAME;Database=DB_NAME;User Id=DB_USER;Password=DB_PASSWORD;

This line tells your site where the database is and how to log in. Replace the capital words with your values. Your server name is in your welcome email, or ask Hostvento support.

Warning: Never share your database password. Back up your database before you change or delete anything.

Screenshot: Warning: Never share your database password. Back up your database before you change or de
Tip: To open the database and see its tables, click Webadmin next to it if Plesk shows that button.

Need help? Open a support ticket.

Quick recap

  • MS SQL needs a Windows plan.
  • Go to Websites & Domains > Databases > Add Database.
  • Pick Microsoft SQL Server as the type.
  • Create a user with a strong password and save the details.
    Screenshot: Create a user with a strong password and save the details.