{"id":118,"date":"2009-03-24T21:01:59","date_gmt":"2009-03-24T20:01:59","guid":{"rendered":"http:\/\/www.withinweb.com\/info\/?p=118"},"modified":"2009-04-04T08:43:34","modified_gmt":"2009-04-04T07:43:34","slug":"create-a-database-using-cpanel","status":"publish","type":"post","link":"https:\/\/www.withinweb.com\/info\/create-a-database-using-cpanel\/","title":{"rendered":"Create a mySQL database using cpanel (old style)"},"content":{"rendered":"<p>This tutorial will take you step-by-step through the process of creating a database for use with withinweb applications using\u00a0CPanel.<\/p>\n<p>First, login to your cpanel control panel.<\/p>\n<p>You should see a large number of icons, one of which will be <strong>mySQL Database<\/strong><\/p>\n<p>Click on this and you will be taken to the mySQL Account Maintenance page.\u00a0 You may also see other database details listed if you have created other database before.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" title=\"Cpanel 2\" src=\"http:\/\/www.withinweb.com\/graphics\/wordpress\/cpanel2.gif\" alt=\"\" width=\"552\" height=\"299\" \/><\/p>\n<p><strong>Add User<\/strong><\/p>\n<p>You need to first add a user name and a password.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" title=\"cpanel 3\" src=\"http:\/\/www.withinweb.com\/graphics\/wordpress\/cpanel3.gif\" alt=\"\" width=\"548\" height=\"98\" \/><\/p>\n<p>Click the Add User button<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" title=\"cpanel 4\" src=\"http:\/\/www.withinweb.com\/graphics\/wordpress\/cpanel4.gif\" alt=\"\" width=\"322\" height=\"104\" \/><\/p>\n<p>Note that your host\u00a0will usually add a prefix to the user name, so this will become something like wptemp_Podz<\/p>\n<p><strong>Create your database<\/strong><\/p>\n<p>You should now be looking at the screen below. Note that you &#8211; the User &#8211; are listed in a box at the top, and also below the line too.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" title=\"cpanel 6\" src=\"http:\/\/www.withinweb.com\/graphics\/wordpress\/cpanel6.gif\" alt=\"\" width=\"552\" height=\"317\" \/><\/p>\n<p>Enter the name of the database\u00a0where <strong>database name<\/strong> is listed. Then click <strong>Add Db<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" title=\"Cpanel 7\" src=\"http:\/\/www.withinweb.com\/graphics\/wordpress\/cpanel7.gif\" alt=\"\" width=\"317\" height=\"91\" \/><\/p>\n<p>The database is now created.<\/p>\n<p><strong>Allocate the user to the database<\/strong><\/p>\n<p>The two pieces of information you just added are now here on this screen: the user name and the database name.<\/p>\n<p>If you have other databases and users, the whole screen may look different, but this small part will look the same.<\/p>\n<p>Look at the two drop-down boxes.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" title=\"cpanel 8\" src=\"http:\/\/www.withinweb.com\/graphics\/wordpress\/cpanel8.gif\" alt=\"\" width=\"554\" height=\"231\" \/><\/p>\n<p>The User box MUST contain the name that you added first above. (Note that for each name you put in, the CPanel has added a prefix.) If you need to, click the drop down to get the name you added to appear in the left hand box. The same applies to the database: &#8211; get the name of the database in the box too.<\/p>\n<p>When finished, click the button that says <strong>Add User to Db<\/strong>.<\/p>\n<p>This is REALLY important &#8211; nothing will work unless you click that button.<\/p>\n<p>You should see this.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" title=\"cpanel 9\" src=\"http:\/\/www.withinweb.com\/graphics\/wordpress\/cpanel9.gif\" alt=\"\" width=\"386\" height=\"99\" \/><\/p>\n<p>At this point you have created the database, created a user and allocated the user to the database.<\/p>\n<p>You can now create the tables using the install.php script supplied with the zip file.<\/p>\n<p>You will need to have the following information available :<\/p>\n<p>database name<br \/>\ndatabase username<br \/>\ndatabase password<br \/>\ndatabase host (usually local host but refer to your host documentation if you are not sure)<\/p>\n<p>When you run the install.php file in your browser you will be presented with boxes as follows :<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" title=\"install\" src=\"http:\/\/www.withinweb.com\/graphics\/wordpress\/install.gif\" alt=\"\" width=\"400\" height=\"300\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>This tutorial will take you step-by-step through the process of creating a database for use with withinweb applications using\u00a0CPanel. First, login to your cpanel control panel. You should see a large number of icons, one of which will be mySQL<span class=\"ellipsis\">&hellip;<\/span><\/p>\n<div class=\"read-more\"><a href=\"https:\/\/www.withinweb.com\/info\/create-a-database-using-cpanel\/\">Read more <span class=\"screen-reader-text\">Create a mySQL database using cpanel (old style)<\/span><span class=\"meta-nav\"> &#8250;<\/span><\/a><\/div>\n<p><!-- end of .read-more --><\/p>\n","protected":false},"author":40,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,5,4,10],"tags":[],"class_list":["post-118","post","type-post","status-publish","format-standard","hentry","category-php-eseller","category-php-keycodes","category-php-securearea","category-sql_databases_and_queries"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Create a mySQL database using cpanel (old style) - PHP Web Applications<\/title>\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.withinweb.com\/info\/create-a-database-using-cpanel\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Create a mySQL database using cpanel (old style) - PHP Web Applications\" \/>\n<meta property=\"og:description\" content=\"This tutorial will take you step-by-step through the process of creating a database for use with withinweb applications using\u00a0CPanel. First, login to your cpanel control panel. You should see a large number of icons, one of which will be mySQL&hellip;Read more Create a mySQL database using cpanel (old style) &#8250;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.withinweb.com\/info\/create-a-database-using-cpanel\/\" \/>\n<meta property=\"og:site_name\" content=\"PHP Web Applications\" \/>\n<meta property=\"article:published_time\" content=\"2009-03-24T20:01:59+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2009-04-04T07:43:34+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/www.withinweb.com\/graphics\/wordpress\/cpanel2.gif\" \/>\n<meta name=\"author\" content=\"paulv\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"paulv\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.withinweb.com\\\/info\\\/create-a-database-using-cpanel\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.withinweb.com\\\/info\\\/create-a-database-using-cpanel\\\/\"},\"author\":{\"name\":\"paulv\",\"@id\":\"https:\\\/\\\/www.withinweb.com\\\/info\\\/#\\\/schema\\\/person\\\/04da5531c302d55ffcd777fe81dbb93c\"},\"headline\":\"Create a mySQL database using cpanel (old style)\",\"datePublished\":\"2009-03-24T20:01:59+00:00\",\"dateModified\":\"2009-04-04T07:43:34+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.withinweb.com\\\/info\\\/create-a-database-using-cpanel\\\/\"},\"wordCount\":400,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/www.withinweb.com\\\/info\\\/create-a-database-using-cpanel\\\/#primaryimage\"},\"thumbnailUrl\":\"http:\\\/\\\/www.withinweb.com\\\/graphics\\\/wordpress\\\/cpanel2.gif\",\"articleSection\":[\"PHP-eSeller\",\"PHP-KeyCodes\",\"PHP-SecureArea\",\"SQL databases\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.withinweb.com\\\/info\\\/create-a-database-using-cpanel\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.withinweb.com\\\/info\\\/create-a-database-using-cpanel\\\/\",\"url\":\"https:\\\/\\\/www.withinweb.com\\\/info\\\/create-a-database-using-cpanel\\\/\",\"name\":\"Create a mySQL database using cpanel (old style) - PHP Web Applications\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.withinweb.com\\\/info\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.withinweb.com\\\/info\\\/create-a-database-using-cpanel\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.withinweb.com\\\/info\\\/create-a-database-using-cpanel\\\/#primaryimage\"},\"thumbnailUrl\":\"http:\\\/\\\/www.withinweb.com\\\/graphics\\\/wordpress\\\/cpanel2.gif\",\"datePublished\":\"2009-03-24T20:01:59+00:00\",\"dateModified\":\"2009-04-04T07:43:34+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.withinweb.com\\\/info\\\/#\\\/schema\\\/person\\\/04da5531c302d55ffcd777fe81dbb93c\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.withinweb.com\\\/info\\\/create-a-database-using-cpanel\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.withinweb.com\\\/info\\\/create-a-database-using-cpanel\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.withinweb.com\\\/info\\\/create-a-database-using-cpanel\\\/#primaryimage\",\"url\":\"http:\\\/\\\/www.withinweb.com\\\/graphics\\\/wordpress\\\/cpanel2.gif\",\"contentUrl\":\"http:\\\/\\\/www.withinweb.com\\\/graphics\\\/wordpress\\\/cpanel2.gif\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.withinweb.com\\\/info\\\/create-a-database-using-cpanel\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.withinweb.com\\\/info\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Create a mySQL database using cpanel (old style)\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.withinweb.com\\\/info\\\/#website\",\"url\":\"https:\\\/\\\/www.withinweb.com\\\/info\\\/\",\"name\":\"PHP Web Applications\",\"description\":\"Information and support for products of WithinWeb.com\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.withinweb.com\\\/info\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.withinweb.com\\\/info\\\/#\\\/schema\\\/person\\\/04da5531c302d55ffcd777fe81dbb93c\",\"name\":\"paulv\",\"url\":\"https:\\\/\\\/www.withinweb.com\\\/info\\\/author\\\/paulv\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Create a mySQL database using cpanel (old style) - PHP Web Applications","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.withinweb.com\/info\/create-a-database-using-cpanel\/","og_locale":"en_US","og_type":"article","og_title":"Create a mySQL database using cpanel (old style) - PHP Web Applications","og_description":"This tutorial will take you step-by-step through the process of creating a database for use with withinweb applications using\u00a0CPanel. First, login to your cpanel control panel. You should see a large number of icons, one of which will be mySQL&hellip;Read more Create a mySQL database using cpanel (old style) &#8250;","og_url":"https:\/\/www.withinweb.com\/info\/create-a-database-using-cpanel\/","og_site_name":"PHP Web Applications","article_published_time":"2009-03-24T20:01:59+00:00","article_modified_time":"2009-04-04T07:43:34+00:00","og_image":[{"url":"http:\/\/www.withinweb.com\/graphics\/wordpress\/cpanel2.gif","type":"","width":"","height":""}],"author":"paulv","twitter_card":"summary_large_image","twitter_misc":{"Written by":"paulv","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.withinweb.com\/info\/create-a-database-using-cpanel\/#article","isPartOf":{"@id":"https:\/\/www.withinweb.com\/info\/create-a-database-using-cpanel\/"},"author":{"name":"paulv","@id":"https:\/\/www.withinweb.com\/info\/#\/schema\/person\/04da5531c302d55ffcd777fe81dbb93c"},"headline":"Create a mySQL database using cpanel (old style)","datePublished":"2009-03-24T20:01:59+00:00","dateModified":"2009-04-04T07:43:34+00:00","mainEntityOfPage":{"@id":"https:\/\/www.withinweb.com\/info\/create-a-database-using-cpanel\/"},"wordCount":400,"commentCount":0,"image":{"@id":"https:\/\/www.withinweb.com\/info\/create-a-database-using-cpanel\/#primaryimage"},"thumbnailUrl":"http:\/\/www.withinweb.com\/graphics\/wordpress\/cpanel2.gif","articleSection":["PHP-eSeller","PHP-KeyCodes","PHP-SecureArea","SQL databases"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.withinweb.com\/info\/create-a-database-using-cpanel\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.withinweb.com\/info\/create-a-database-using-cpanel\/","url":"https:\/\/www.withinweb.com\/info\/create-a-database-using-cpanel\/","name":"Create a mySQL database using cpanel (old style) - PHP Web Applications","isPartOf":{"@id":"https:\/\/www.withinweb.com\/info\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.withinweb.com\/info\/create-a-database-using-cpanel\/#primaryimage"},"image":{"@id":"https:\/\/www.withinweb.com\/info\/create-a-database-using-cpanel\/#primaryimage"},"thumbnailUrl":"http:\/\/www.withinweb.com\/graphics\/wordpress\/cpanel2.gif","datePublished":"2009-03-24T20:01:59+00:00","dateModified":"2009-04-04T07:43:34+00:00","author":{"@id":"https:\/\/www.withinweb.com\/info\/#\/schema\/person\/04da5531c302d55ffcd777fe81dbb93c"},"breadcrumb":{"@id":"https:\/\/www.withinweb.com\/info\/create-a-database-using-cpanel\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.withinweb.com\/info\/create-a-database-using-cpanel\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.withinweb.com\/info\/create-a-database-using-cpanel\/#primaryimage","url":"http:\/\/www.withinweb.com\/graphics\/wordpress\/cpanel2.gif","contentUrl":"http:\/\/www.withinweb.com\/graphics\/wordpress\/cpanel2.gif"},{"@type":"BreadcrumbList","@id":"https:\/\/www.withinweb.com\/info\/create-a-database-using-cpanel\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.withinweb.com\/info\/"},{"@type":"ListItem","position":2,"name":"Create a mySQL database using cpanel (old style)"}]},{"@type":"WebSite","@id":"https:\/\/www.withinweb.com\/info\/#website","url":"https:\/\/www.withinweb.com\/info\/","name":"PHP Web Applications","description":"Information and support for products of WithinWeb.com","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.withinweb.com\/info\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.withinweb.com\/info\/#\/schema\/person\/04da5531c302d55ffcd777fe81dbb93c","name":"paulv","url":"https:\/\/www.withinweb.com\/info\/author\/paulv\/"}]}},"_links":{"self":[{"href":"https:\/\/www.withinweb.com\/info\/wp-json\/wp\/v2\/posts\/118","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.withinweb.com\/info\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.withinweb.com\/info\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.withinweb.com\/info\/wp-json\/wp\/v2\/users\/40"}],"replies":[{"embeddable":true,"href":"https:\/\/www.withinweb.com\/info\/wp-json\/wp\/v2\/comments?post=118"}],"version-history":[{"count":27,"href":"https:\/\/www.withinweb.com\/info\/wp-json\/wp\/v2\/posts\/118\/revisions"}],"predecessor-version":[{"id":169,"href":"https:\/\/www.withinweb.com\/info\/wp-json\/wp\/v2\/posts\/118\/revisions\/169"}],"wp:attachment":[{"href":"https:\/\/www.withinweb.com\/info\/wp-json\/wp\/v2\/media?parent=118"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.withinweb.com\/info\/wp-json\/wp\/v2\/categories?post=118"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.withinweb.com\/info\/wp-json\/wp\/v2\/tags?post=118"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}