{"id":48438,"date":"2021-02-18T15:57:52","date_gmt":"2021-02-18T15:57:52","guid":{"rendered":"https:\/\/www.awardspace.com\/?p=48438"},"modified":"2022-10-11T10:53:55","modified_gmt":"2022-10-11T10:53:55","slug":"how-to-create-a-database","status":"publish","type":"post","link":"https:\/\/www.awardspace.com\/kb\/how-to-create-a-database\/","title":{"rendered":"How to create a database?"},"content":{"rendered":"<p>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.<\/p>\n<p>&nbsp;<\/p>\n<h2>Creating a database on a shared plan<\/h2>\n<p>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.<\/p>\n<p>&nbsp;<\/p>\n<h2>How to create a database?<\/h2>\n<p>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 <a href=\"https:\/\/cp1.awardspace.net\/database-manager\/\">Database Manager<\/a> you will be presented with two options:<\/p>\n<ul>\n<li>Create MySQL Database<\/li>\n<li>Create PostgresSQL Database<\/li>\n<\/ul>\n<p>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 <strong>Create Database<\/strong>.<\/p>\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" class=\"wp-image-48439\" src=\"\/wp-content\/uploads\/2021\/02\/database-1.jpg\" alt=\"\" \/><\/figure>\n<p>&nbsp;<\/p>\n<h2>Things you must know when creating a database<\/h2>\n<p>There are a couple of things you need to know before and after you create a database:<\/p>\n<ol>\n<li>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<\/li>\n<li>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<\/li>\n<li>You cannot create additional users for your database. Each database comes with one and only user which can manage it<\/li>\n<li>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<\/li>\n<li>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<\/li>\n<\/ol>\n<p>If you are having trouble with using our Database Manager you can look at our article <a href=\"\/kb\/database-manager\/\">here<\/a> where we have described the section in detail.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>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. &nbsp; Creating a database on a shared plan When using our shared [&hellip;]<\/p>\n","protected":false},"author":9,"featured_media":33819,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_et_pb_use_builder":"","_et_pb_old_content":"","_et_gb_content_width":"","footnotes":""},"categories":[36],"tags":[],"class_list":["post-48438","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-databases"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.9 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to create a database? - AwardSpace.com<\/title>\n<meta name=\"description\" content=\"Databases are an important part of modern websites. In this article we will go through the process of database creation.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.awardspace.com\/kb\/how-to-create-a-database\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to create a database? - AwardSpace.com\" \/>\n<meta property=\"og:description\" content=\"Databases are an important part of modern websites. In this article we will go through the process of database creation.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.awardspace.com\/kb\/how-to-create-a-database\/\" \/>\n<meta property=\"og:site_name\" content=\"AwardSpace.com\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/AwardSpace\/\" \/>\n<meta property=\"article:published_time\" content=\"2021-02-18T15:57:52+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-10-11T10:53:55+00:00\" \/>\n<meta name=\"author\" content=\"Svetlozar\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@awspace\" \/>\n<meta name=\"twitter:site\" content=\"@awspace\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Svetlozar\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.awardspace.com\/kb\/how-to-create-a-database\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.awardspace.com\/kb\/how-to-create-a-database\/\"},\"author\":{\"name\":\"Svetlozar\",\"@id\":\"https:\/\/www.awardspace.com\/#\/schema\/person\/d6b88a5bc5b68653dc64ebcb783f0767\"},\"headline\":\"How to create a database?\",\"datePublished\":\"2021-02-18T15:57:52+00:00\",\"dateModified\":\"2022-10-11T10:53:55+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.awardspace.com\/kb\/how-to-create-a-database\/\"},\"wordCount\":447,\"publisher\":{\"@id\":\"https:\/\/www.awardspace.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.awardspace.com\/kb\/how-to-create-a-database\/#primaryimage\"},\"thumbnailUrl\":\"\",\"articleSection\":[\"Databases\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.awardspace.com\/kb\/how-to-create-a-database\/\",\"url\":\"https:\/\/www.awardspace.com\/kb\/how-to-create-a-database\/\",\"name\":\"How to create a database? - AwardSpace.com\",\"isPartOf\":{\"@id\":\"https:\/\/www.awardspace.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.awardspace.com\/kb\/how-to-create-a-database\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.awardspace.com\/kb\/how-to-create-a-database\/#primaryimage\"},\"thumbnailUrl\":\"\",\"datePublished\":\"2021-02-18T15:57:52+00:00\",\"dateModified\":\"2022-10-11T10:53:55+00:00\",\"description\":\"Databases are an important part of modern websites. In this article we will go through the process of database creation.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.awardspace.com\/kb\/how-to-create-a-database\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.awardspace.com\/kb\/how-to-create-a-database\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.awardspace.com\/kb\/how-to-create-a-database\/#primaryimage\",\"url\":\"\",\"contentUrl\":\"\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.awardspace.com\/kb\/how-to-create-a-database\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.awardspace.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Knowledge Base\",\"item\":\"https:\/\/www.awardspace.com\/kb\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Databases\",\"item\":\"https:\/\/www.awardspace.com\/kb\/databases\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"How to create a database?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.awardspace.com\/#website\",\"url\":\"https:\/\/www.awardspace.com\/\",\"name\":\"AwardSpace.com\",\"description\":\"Free Web Hosting with PHP, MySQL, Email Sending, No Ads\",\"publisher\":{\"@id\":\"https:\/\/www.awardspace.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.awardspace.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.awardspace.com\/#organization\",\"name\":\"AwardSpace.com\",\"url\":\"https:\/\/www.awardspace.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.awardspace.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.awardspace.com\/wp-content\/uploads\/2018\/08\/awardspace_logo.png\",\"contentUrl\":\"https:\/\/www.awardspace.com\/wp-content\/uploads\/2018\/08\/awardspace_logo.png\",\"width\":1759,\"height\":176,\"caption\":\"AwardSpace.com\"},\"image\":{\"@id\":\"https:\/\/www.awardspace.com\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/AwardSpace\/\",\"https:\/\/x.com\/awspace\",\"https:\/\/www.instagram.com\/awardspace\/\",\"https:\/\/www.quora.com\/profile\/Award-Space\",\"https:\/\/www.linkedin.com\/company\/19214384\/\",\"https:\/\/www.reddit.com\/user\/AwardSpace\",\"https:\/\/www.pinterest.com\/awardspace\/\",\"https:\/\/www.youtube.com\/user\/AwardspaceWebHosting\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.awardspace.com\/#\/schema\/person\/d6b88a5bc5b68653dc64ebcb783f0767\",\"name\":\"Svetlozar\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.awardspace.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/4e418ad46c73944bc649ba95ca690a2bb80245f4dd05b3c668493877fae295ab?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/4e418ad46c73944bc649ba95ca690a2bb80245f4dd05b3c668493877fae295ab?s=96&d=mm&r=g\",\"caption\":\"Svetlozar\"},\"url\":\"https:\/\/www.awardspace.com\/author\/svetlozar\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to create a database? - AwardSpace.com","description":"Databases are an important part of modern websites. In this article we will go through the process of database creation.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.awardspace.com\/kb\/how-to-create-a-database\/","og_locale":"en_US","og_type":"article","og_title":"How to create a database? - AwardSpace.com","og_description":"Databases are an important part of modern websites. In this article we will go through the process of database creation.","og_url":"https:\/\/www.awardspace.com\/kb\/how-to-create-a-database\/","og_site_name":"AwardSpace.com","article_publisher":"https:\/\/www.facebook.com\/AwardSpace\/","article_published_time":"2021-02-18T15:57:52+00:00","article_modified_time":"2022-10-11T10:53:55+00:00","author":"Svetlozar","twitter_card":"summary_large_image","twitter_creator":"@awspace","twitter_site":"@awspace","twitter_misc":{"Written by":"Svetlozar","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.awardspace.com\/kb\/how-to-create-a-database\/#article","isPartOf":{"@id":"https:\/\/www.awardspace.com\/kb\/how-to-create-a-database\/"},"author":{"name":"Svetlozar","@id":"https:\/\/www.awardspace.com\/#\/schema\/person\/d6b88a5bc5b68653dc64ebcb783f0767"},"headline":"How to create a database?","datePublished":"2021-02-18T15:57:52+00:00","dateModified":"2022-10-11T10:53:55+00:00","mainEntityOfPage":{"@id":"https:\/\/www.awardspace.com\/kb\/how-to-create-a-database\/"},"wordCount":447,"publisher":{"@id":"https:\/\/www.awardspace.com\/#organization"},"image":{"@id":"https:\/\/www.awardspace.com\/kb\/how-to-create-a-database\/#primaryimage"},"thumbnailUrl":"","articleSection":["Databases"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.awardspace.com\/kb\/how-to-create-a-database\/","url":"https:\/\/www.awardspace.com\/kb\/how-to-create-a-database\/","name":"How to create a database? - AwardSpace.com","isPartOf":{"@id":"https:\/\/www.awardspace.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.awardspace.com\/kb\/how-to-create-a-database\/#primaryimage"},"image":{"@id":"https:\/\/www.awardspace.com\/kb\/how-to-create-a-database\/#primaryimage"},"thumbnailUrl":"","datePublished":"2021-02-18T15:57:52+00:00","dateModified":"2022-10-11T10:53:55+00:00","description":"Databases are an important part of modern websites. In this article we will go through the process of database creation.","breadcrumb":{"@id":"https:\/\/www.awardspace.com\/kb\/how-to-create-a-database\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.awardspace.com\/kb\/how-to-create-a-database\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.awardspace.com\/kb\/how-to-create-a-database\/#primaryimage","url":"","contentUrl":""},{"@type":"BreadcrumbList","@id":"https:\/\/www.awardspace.com\/kb\/how-to-create-a-database\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.awardspace.com\/"},{"@type":"ListItem","position":2,"name":"Knowledge Base","item":"https:\/\/www.awardspace.com\/kb\/"},{"@type":"ListItem","position":3,"name":"Databases","item":"https:\/\/www.awardspace.com\/kb\/databases\/"},{"@type":"ListItem","position":4,"name":"How to create a database?"}]},{"@type":"WebSite","@id":"https:\/\/www.awardspace.com\/#website","url":"https:\/\/www.awardspace.com\/","name":"AwardSpace.com","description":"Free Web Hosting with PHP, MySQL, Email Sending, No Ads","publisher":{"@id":"https:\/\/www.awardspace.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.awardspace.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.awardspace.com\/#organization","name":"AwardSpace.com","url":"https:\/\/www.awardspace.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.awardspace.com\/#\/schema\/logo\/image\/","url":"https:\/\/www.awardspace.com\/wp-content\/uploads\/2018\/08\/awardspace_logo.png","contentUrl":"https:\/\/www.awardspace.com\/wp-content\/uploads\/2018\/08\/awardspace_logo.png","width":1759,"height":176,"caption":"AwardSpace.com"},"image":{"@id":"https:\/\/www.awardspace.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/AwardSpace\/","https:\/\/x.com\/awspace","https:\/\/www.instagram.com\/awardspace\/","https:\/\/www.quora.com\/profile\/Award-Space","https:\/\/www.linkedin.com\/company\/19214384\/","https:\/\/www.reddit.com\/user\/AwardSpace","https:\/\/www.pinterest.com\/awardspace\/","https:\/\/www.youtube.com\/user\/AwardspaceWebHosting"]},{"@type":"Person","@id":"https:\/\/www.awardspace.com\/#\/schema\/person\/d6b88a5bc5b68653dc64ebcb783f0767","name":"Svetlozar","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.awardspace.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/4e418ad46c73944bc649ba95ca690a2bb80245f4dd05b3c668493877fae295ab?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/4e418ad46c73944bc649ba95ca690a2bb80245f4dd05b3c668493877fae295ab?s=96&d=mm&r=g","caption":"Svetlozar"},"url":"https:\/\/www.awardspace.com\/author\/svetlozar\/"}]}},"_links":{"self":[{"href":"https:\/\/www.awardspace.com\/wp-json\/wp\/v2\/posts\/48438","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.awardspace.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.awardspace.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.awardspace.com\/wp-json\/wp\/v2\/users\/9"}],"replies":[{"embeddable":true,"href":"https:\/\/www.awardspace.com\/wp-json\/wp\/v2\/comments?post=48438"}],"version-history":[{"count":0,"href":"https:\/\/www.awardspace.com\/wp-json\/wp\/v2\/posts\/48438\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.awardspace.com\/wp-json\/"}],"wp:attachment":[{"href":"https:\/\/www.awardspace.com\/wp-json\/wp\/v2\/media?parent=48438"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.awardspace.com\/wp-json\/wp\/v2\/categories?post=48438"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.awardspace.com\/wp-json\/wp\/v2\/tags?post=48438"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}