{"id":11,"date":"2020-05-27T12:43:32","date_gmt":"2020-05-27T11:43:32","guid":{"rendered":"http:\/\/kbnco.names.dev.pdunsford.localdev\/?post_type=ht_kb&#038;p=11"},"modified":"2021-01-29T13:00:54","modified_gmt":"2021-01-29T13:00:54","slug":"creating-a-mysql-database-on-apache-hosting","status":"publish","type":"ht_kb","link":"https:\/\/www.websites-madesimple.co.uk\/support\/articles\/creating-a-mysql-database-on-apache-hosting\/","title":{"rendered":"Creating a MySQL Database on Apache Hosting"},"content":{"rendered":"\n<p>This article explains how to create a MySQL database for websites using one of our Apache Hosting packages. If your website is using Windows Hosting or Cpanel Hosting then these instructions will not apply.<\/p>\n\n\n\n<p>Once logged into your Control Panel, click on your domain (if you have more than one), and look for the&nbsp;<em>Hosting Settings<\/em>&nbsp;drop-down menu.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"\/support\/wp-content\/uploads\/2020\/05\/Hosting-Settings-1024x649.jpg\" alt=\"\" class=\"wp-image-12\"\/><\/figure>\n\n\n\n<p>Select the option called&nbsp;<em>MySQL<\/em>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"\/support\/wp-content\/uploads\/2020\/05\/MySQL-1024x663.jpg\" alt=\"\" class=\"wp-image-13\"\/><\/figure>\n\n\n\n<p>This will show you any MySQL databases currently located at this domain.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"\/support\/wp-content\/uploads\/2020\/05\/MySQL2-1024x712.jpg\" alt=\"\" class=\"wp-image-14\"\/><\/figure>\n\n\n\n<p>To create a new one click on the link in the top right called&nbsp;<em>Add Database<\/em>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"\/support\/wp-content\/uploads\/2020\/05\/MySQL3-1024x1018.jpg\" alt=\"\" class=\"wp-image-15\"\/><\/figure>\n\n\n\n<p>The database name will automatically be prefixed by your account reference and an underscore. The part after the underscore can be specified by you. The complete database name to use in your scripts would be the account reference, then the underscore, then whatever you enter here.<\/p>\n\n\n\n<p>By default our newest MySQL server will be selected here, and we recommend you stick with that. If you have a particular reason to use one of the other servers then by all means go ahead and select the relevant one.<\/p>\n\n\n\n<p>Our recommended charset is automatically selected, and we suggest that you leave it like that unless you particularly need to use another one. A large number of charsets are available, but the most popular ones are latin1 and utf8.<\/p>\n\n\n\n<p>You now need to enter a username for the database, followed by a password.<\/p>\n\n\n\n<p>When connecting to this database in your scripts, you will need the full database name, the server name, the username and the password.<\/p>\n\n\n\n<p>Finally, you can choose whether remote administration is available for this database. We recommend this is set to&nbsp;<em>No<\/em>, which is the default option. This means that the database can only be administered via our PHPMyAdmin interface at https:\/\/www.mydbadmin.co.uk<\/p>\n\n\n\n<p>If you have your own database management software that you wish to use instead then you will need to set the remote administration option to&nbsp;<em>Yes<\/em>, but please note that you then need to contact Technical Support and provide them with your static IP Address, or you will still not be able to connect to the database. Please also note the list of remote administration server names which are shown at the bottom of the page.<\/p>\n\n\n\n<p>When you have entered all the necessary information, click on the&nbsp;<em>Create<\/em>&nbsp;link to create your new MySQL database.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This article explains how to create a MySQL database for websites using one of our Apache Hosting packages. If your website is using Windows Hosting or Cpanel Hosting then these instructions will not apply. Once logged into your Control Panel, click on your domain (if you have more than one), and look for the&nbsp;Hosting Settings&nbsp;drop-down [&hellip;]<\/p>\n","protected":false},"author":2,"comment_status":"closed","ping_status":"closed","template":"","format":"standard","meta":{"footnotes":""},"ht-kb-category":[23],"ht-kb-tag":[6,24,38],"class_list":["post-11","ht_kb","type-ht_kb","status-publish","format-standard","hentry","ht_kb_category-hosting","ht_kb_tag-apache","ht_kb_tag-hosting","ht_kb_tag-mysql"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Creating a MySQL Database on Apache Hosting - Support Centre - Websites MadeSimple\u2122<\/title>\n<meta name=\"robots\" content=\"noindex, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Creating a MySQL Database on Apache Hosting - Support Centre - Websites MadeSimple\u2122\" \/>\n<meta property=\"og:description\" content=\"This article explains how to create a MySQL database for websites using one of our Apache Hosting packages. If your website is using Windows Hosting or Cpanel Hosting then these instructions will not apply. Once logged into your Control Panel, click on your domain (if you have more than one), and look for the&nbsp;Hosting Settings&nbsp;drop-down [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.websites-madesimple.co.uk\/support\/articles\/creating-a-mysql-database-on-apache-hosting\/\" \/>\n<meta property=\"og:site_name\" content=\"Support Centre - Websites MadeSimple\u2122\" \/>\n<meta property=\"article:modified_time\" content=\"2021-01-29T13:00:54+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.websites-madesimple.co.uk\/support\/wp-content\/uploads\/2020\/05\/Hosting-Settings-1024x649.jpg\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Estimated reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.websites-madesimple.co.uk\/support\/articles\/creating-a-mysql-database-on-apache-hosting\/\",\"url\":\"https:\/\/www.websites-madesimple.co.uk\/support\/articles\/creating-a-mysql-database-on-apache-hosting\/\",\"name\":\"Creating a MySQL Database on Apache Hosting - Support Centre - Websites MadeSimple\u2122\",\"isPartOf\":{\"@id\":\"https:\/\/www.websites-madesimple.co.uk\/support\/#website\"},\"datePublished\":\"2020-05-27T11:43:32+00:00\",\"dateModified\":\"2021-01-29T13:00:54+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.websites-madesimple.co.uk\/support\/articles\/creating-a-mysql-database-on-apache-hosting\/#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.websites-madesimple.co.uk\/support\/articles\/creating-a-mysql-database-on-apache-hosting\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.websites-madesimple.co.uk\/support\/articles\/creating-a-mysql-database-on-apache-hosting\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.websites-madesimple.co.uk\/support\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Creating a MySQL Database on Apache Hosting\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.websites-madesimple.co.uk\/support\/#website\",\"url\":\"https:\/\/www.websites-madesimple.co.uk\/support\/\",\"name\":\"Support Centre - Websites MadeSimple\u2122\",\"description\":\"Websites MadeSimple\u2122 Support Centre\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.websites-madesimple.co.uk\/support\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-GB\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Creating a MySQL Database on Apache Hosting - Support Centre - Websites MadeSimple\u2122","robots":{"index":"noindex","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"og_locale":"en_GB","og_type":"article","og_title":"Creating a MySQL Database on Apache Hosting - Support Centre - Websites MadeSimple\u2122","og_description":"This article explains how to create a MySQL database for websites using one of our Apache Hosting packages. If your website is using Windows Hosting or Cpanel Hosting then these instructions will not apply. Once logged into your Control Panel, click on your domain (if you have more than one), and look for the&nbsp;Hosting Settings&nbsp;drop-down [&hellip;]","og_url":"https:\/\/www.websites-madesimple.co.uk\/support\/articles\/creating-a-mysql-database-on-apache-hosting\/","og_site_name":"Support Centre - Websites MadeSimple\u2122","article_modified_time":"2021-01-29T13:00:54+00:00","og_image":[{"url":"https:\/\/www.websites-madesimple.co.uk\/support\/wp-content\/uploads\/2020\/05\/Hosting-Settings-1024x649.jpg","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_misc":{"Estimated reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.websites-madesimple.co.uk\/support\/articles\/creating-a-mysql-database-on-apache-hosting\/","url":"https:\/\/www.websites-madesimple.co.uk\/support\/articles\/creating-a-mysql-database-on-apache-hosting\/","name":"Creating a MySQL Database on Apache Hosting - Support Centre - Websites MadeSimple\u2122","isPartOf":{"@id":"https:\/\/www.websites-madesimple.co.uk\/support\/#website"},"datePublished":"2020-05-27T11:43:32+00:00","dateModified":"2021-01-29T13:00:54+00:00","breadcrumb":{"@id":"https:\/\/www.websites-madesimple.co.uk\/support\/articles\/creating-a-mysql-database-on-apache-hosting\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.websites-madesimple.co.uk\/support\/articles\/creating-a-mysql-database-on-apache-hosting\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.websites-madesimple.co.uk\/support\/articles\/creating-a-mysql-database-on-apache-hosting\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.websites-madesimple.co.uk\/support\/"},{"@type":"ListItem","position":2,"name":"Creating a MySQL Database on Apache Hosting"}]},{"@type":"WebSite","@id":"https:\/\/www.websites-madesimple.co.uk\/support\/#website","url":"https:\/\/www.websites-madesimple.co.uk\/support\/","name":"Support Centre - Websites MadeSimple\u2122","description":"Websites MadeSimple\u2122 Support Centre","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.websites-madesimple.co.uk\/support\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-GB"}]}},"_links":{"self":[{"href":"https:\/\/www.websites-madesimple.co.uk\/support\/wp-json\/wp\/v2\/ht-kb\/11","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.websites-madesimple.co.uk\/support\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/www.websites-madesimple.co.uk\/support\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/www.websites-madesimple.co.uk\/support\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.websites-madesimple.co.uk\/support\/wp-json\/wp\/v2\/comments?post=11"}],"version-history":[{"count":2,"href":"https:\/\/www.websites-madesimple.co.uk\/support\/wp-json\/wp\/v2\/ht-kb\/11\/revisions"}],"predecessor-version":[{"id":3630,"href":"https:\/\/www.websites-madesimple.co.uk\/support\/wp-json\/wp\/v2\/ht-kb\/11\/revisions\/3630"}],"wp:attachment":[{"href":"https:\/\/www.websites-madesimple.co.uk\/support\/wp-json\/wp\/v2\/media?parent=11"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/www.websites-madesimple.co.uk\/support\/wp-json\/wp\/v2\/ht-kb-category?post=11"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/www.websites-madesimple.co.uk\/support\/wp-json\/wp\/v2\/ht-kb-tag?post=11"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}