How to create a database?

Home » Knowledge Base » Databases » How to create a database?

Databases are an important part of modern websites. They store all your website data (content, users, configuration). This is why we offer databases for all hosting plans, including the free plan. In this article, we will go through the process of database creation.

 

Creating a database on a shared plan

When using our shared hosting plans you will be able to create databases only from the Database Manager located in the Hosting Control Panel. The reason for this is due to the fact that you do not have root access to the server and you would not be able to send a command to the server that would create the database for you. This means that when manually installing an application that requires a database you would also have to manually create the database from the Database Manager.

 

How to create a database?

To do that you would first have to navigate to the Database Manager. The Database Manager can be found inside your Hosting Control Panel under the Hosting Tools menu. Once inside the Database Manager you will be presented with two options:

  • Create MySQL Database
  • Create PostgresSQL Database

Choose the database type that your website requires. After that, you will have to enter the name and the password for your database as shown in the picture below, and click Create Database.

 

Things you must know when creating a database

There are a couple of things you need to know before and after you create a database:

  1. The name of your database would always have your client ID as a prefix. For example, if your client ID is 123456 your database name will be 123456_database
  2. When you create a database a user is automatically created and assigned to it. The name of the username for your database would be the same as your database name. Following the above example, the username for the database 123456_database would be 123456_database
  3. You cannot create additional users for your database. Each database comes with one and only user which can manage it
  4. Our shared hosting database servers are running on separate servers. This means that when installing your application you will not be able to use localhost as a hostname for your database. Please make sure to check your Database Manager for the proper hostname
  5. Databases cannot be accessed remotely. You can only make changes to your database via a script uploaded to your hosting account or via the phpMyAdmin which can be accessed in the Database Manager

If you are having trouble with using our Database Manager you can look at our article here where we have described the section in detail.

Was this post helpful?

i

Relevant tags:

Connect

Latest posts:

How to Add Products to Zen Cart: A Step-By-Step Guide

After you install Zen Cart and log in to the admin panel, you can start adding products to your online store. This guide walks you through the process step by step.   How to Add Products to Zen Cart To add a product to Zen Cart, you need to follow a few simple...

How to Log in to Zen Cart

Once you install Zen Cart, you can log in to the CMS and start working on your project. The login process is simple and is comprised of only a few steps.   How to Log in to Zen Cart There are two ways to log in to Zen Cart: Method 1: Login by following the...

How to Install Zen Cart

You can install Zen Cart with any of the AwardSpace hosting plans—free web hosting, shared hosting, and advanced plans such as Semi-Dedicated Hosting and VPS hosting. Each AwardSpace hosting service is tailored to run Zen Cart flawlessly and smoothly, regardless of...

How to Log in to phpBB

Now that you have installed phpBB, it is time to learn how to log in to the system and start working with it. The process is simple and is comprised of only a few steps.   How to Log in to phpBB There are several ways you can use to log in phpBB. The process...

How to Install phpBB

You can install phpBB on any AwardSpace hosting plan - on the free web hosting, shared hosting, and also on the advanced AwardSpace plans such as Semi-Dedicated Hosting and VPS hosting. Each AwardSpace hosting service is tailored to run phpBB flawlessly and smoothly,...



Create a website for free!


Free forever

Our Support Team is Here to Help

 

If you need any questions answered, don't hesitate and contact us. Click the button below and follow the instructions. You can expect an answer within an hour.

 

Contact AwardSpace

 

iNewest knowledge base articles

How to Add Products to Zen Cart: A Step-By-Step Guide

After you install Zen Cart and log in to the admin panel, you can start adding products to your online store. This guide walks you through the process step by step.   How to Add Products to Zen Cart To add a product to Zen Cart, you need to follow a few simple...

How to Log in to Zen Cart

Once you install Zen Cart, you can log in to the CMS and start working on your project. The login process is simple and is comprised of only a few steps.   How to Log in to Zen Cart There are two ways to log in to Zen Cart: Method 1: Login by following the...

How to Install Zen Cart

You can install Zen Cart with any of the AwardSpace hosting plans—free web hosting, shared hosting, and advanced plans such as Semi-Dedicated Hosting and VPS hosting. Each AwardSpace hosting service is tailored to run Zen Cart flawlessly and smoothly, regardless of...

How to Log in to phpBB

Now that you have installed phpBB, it is time to learn how to log in to the system and start working with it. The process is simple and is comprised of only a few steps.   How to Log in to phpBB There are several ways you can use to log in phpBB. The process...

How to Install phpBB

You can install phpBB on any AwardSpace hosting plan - on the free web hosting, shared hosting, and also on the advanced AwardSpace plans such as Semi-Dedicated Hosting and VPS hosting. Each AwardSpace hosting service is tailored to run phpBB flawlessly and smoothly,...

How to Remove a Product in OpenCart

After installing OpenCart and logging in to the dashboard, you can start adding and removing products immediately. We have already covered how to add products in OpenCart, and in this article, we share simple steps to delete products from your store with only a few...

Even more web tutorials

Check out our web hosting knowledge base and the WordPress tutorials to learn more, and be better prepared for your website creation and maintenance journey.