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 Install a MediaWiki Skin

In MediaWiki, skins determine the visual appearance of your wiki website. Skins define how content is presented to users and include such settings for the overall website layout, typography, color scheme, and more. By default, when you install MediaWiki, the platform...

How to Create a Page in MediaWiki

Creating pages in MediaWiki is а core feature that allows you to add content to your MediaWiki website. Whether you are adding details for a project, contributing to a knowledge base, or anything else, learning how to create a page in MediaWiki is crucial for your...

How to Install MediaWiki Extensions

Now that you have installed MediaWiki and learned how to log in to the CMS, it is time to extend MediaWiki's functionality via extensions. MediaWiki extensions are sets of files that add various types of functionality to your MediaWiki website. You can use extensions...

How to Log In to MediaWiki

After you install MediaWiki, it is time to log in to the platform, so you can start working on your new MediaWiki website. To log in, you must open the MediaWiki login page and enter your credentials. Doing so will open the platform’s admin panel. In the following...

How to Install MediaWiki

You can quickly install MediaWiki on any of the AwardSpace web hosting plans. This includes our free web hosting, shared hosting, as well as advanced services such as semi-dedicated hosting and VPS hosting. You can install MediaWiki in a matter of minutes, whichever...



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 Install a MediaWiki Skin

In MediaWiki, skins determine the visual appearance of your wiki website. Skins define how content is presented to users and include such settings for the overall website layout, typography, color scheme, and more. By default, when you install MediaWiki, the platform...

How to Create a Page in MediaWiki

Creating pages in MediaWiki is а core feature that allows you to add content to your MediaWiki website. Whether you are adding details for a project, contributing to a knowledge base, or anything else, learning how to create a page in MediaWiki is crucial for your...

How to Install MediaWiki Extensions

Now that you have installed MediaWiki and learned how to log in to the CMS, it is time to extend MediaWiki's functionality via extensions. MediaWiki extensions are sets of files that add various types of functionality to your MediaWiki website. You can use extensions...

How to Log In to MediaWiki

After you install MediaWiki, it is time to log in to the platform, so you can start working on your new MediaWiki website. To log in, you must open the MediaWiki login page and enter your credentials. Doing so will open the platform’s admin panel. In the following...

How to Install MediaWiki

You can quickly install MediaWiki on any of the AwardSpace web hosting plans. This includes our free web hosting, shared hosting, as well as advanced services such as semi-dedicated hosting and VPS hosting. You can install MediaWiki in a matter of minutes, whichever...

How to Install an Elgg Theme

After you have installed Elgg core and logged in to the admin dashboard, you can search for themes that can help you customize your new website. Elgg themes are a set of files that help you customize the appearance of your website. Via themes, you can modify website...

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.