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 Find Modules in MediaWiki

After you install MediaWiki, log in to the CMS, and presumably install extensions, it is time to learn how to find modules in MediaWiki.   What are MediaWiki Modules Modules in MediaWiki are Lua-based scripts that allow you to add various functionalities to your...

How to Fix MediaWiki Internal Error: A Step-By-Step Guide

MediaWiki Internal Error message can be very frustrating and can significantly harm your MediaWiki project. Luckily, the issue can be fixed in a few easy-to-follow steps to get your website up and running in no time. There are various causes for the issue: Incorrect...

How to Add Infobox Module in MediaWiki

The Infobox in MediaWiki is a handy tool for presenting content and key information in a structured and visually pleasing way. Infoboxes are useful for any kind of MediaWiki project and can provide your readers with a quick snapshot of important data and details. In...

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...



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 Find Modules in MediaWiki

After you install MediaWiki, log in to the CMS, and presumably install extensions, it is time to learn how to find modules in MediaWiki.   What are MediaWiki Modules Modules in MediaWiki are Lua-based scripts that allow you to add various functionalities to your...

How to Fix MediaWiki Internal Error: A Step-By-Step Guide

MediaWiki Internal Error message can be very frustrating and can significantly harm your MediaWiki project. Luckily, the issue can be fixed in a few easy-to-follow steps to get your website up and running in no time. There are various causes for the issue: Incorrect...

How to Add Infobox Module in MediaWiki

The Infobox in MediaWiki is a handy tool for presenting content and key information in a structured and visually pleasing way. Infoboxes are useful for any kind of MediaWiki project and can provide your readers with a quick snapshot of important data and details. In...

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...

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.