{"id":164,"date":"2009-04-04T09:19:49","date_gmt":"2009-04-04T08:19:49","guid":{"rendered":"http:\/\/www.withinweb.com\/info\/?p=164"},"modified":"2009-04-04T09:37:04","modified_gmt":"2009-04-04T08:37:04","slug":"creating-a-mysql-database-in-cpanel-new-style","status":"publish","type":"post","link":"https:\/\/www.withinweb.com\/info\/creating-a-mysql-database-in-cpanel-new-style\/","title":{"rendered":"Creating a mySQL Database in cPanel (new style)"},"content":{"rendered":"<p><strong>Log in to your Cpanel<\/strong><\/p>\n<p>Log into cPanel and click on the mySQL database link.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" title=\"Image 1\" src=\"http:\/\/www.withinweb.com\/graphics\/wordpress\/cpanel1_new_style.gif\" alt=\"\" width=\"350\" height=\"425\" \/><\/p>\n<p><strong>Create A New Database<\/strong><\/p>\n<p>Scroll down to where it says &#8216;new database&#8217; and enter your choosen database name in the field and click on &#8216;Create Database&#8217;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" title=\"Image 2\" src=\"http:\/\/www.withinweb.com\/graphics\/wordpress\/cpanel2_new_style.gif\" alt=\"\" width=\"400\" height=\"400\" \/><\/p>\n<p><strong>MySql Account Maintenance Page\u00a0<\/strong><\/p>\n<p>Each step in the process will take you back and forth to the mySQL Maintenace page to verify that you have set up the process correctly and you will be able to see the information you have created.<\/p>\n<p>Here you will see you have added the database.<\/p>\n<p>Click on the Go Back button.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" title=\"Image 3\" src=\"http:\/\/www.withinweb.com\/graphics\/wordpress\/cpanel3_new_style.gif\" alt=\"\" width=\"400\" height=\"214\" \/><\/p>\n<h3 class=\"module_subtitle\">Enter Username and Password<\/h3>\n<p>Scroll down to username and password and enter your information.\u00a0 Click on create user.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" title=\"Image 4\" src=\"http:\/\/www.withinweb.com\/graphics\/wordpress\/cpanel4_new_style.gif\" alt=\"\" width=\"400\" height=\"400\" \/><\/p>\n<p><strong>Back to MySql Account Maintenance Page\u00a0<\/strong><\/p>\n<p>The username and password have been created for you database.\u00a0 Click on the Go Back button to return.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" title=\"Image 5\" src=\"http:\/\/www.withinweb.com\/graphics\/wordpress\/cpanel5_new_style.gif\" alt=\"\" width=\"400\" height=\"214\" \/><\/p>\n<p><strong>Add username to database<\/strong><\/p>\n<p>Scroll down to add users to your databases.<\/p>\n<p>If there are no users or databases previously created you will only see one in each selection.<\/p>\n<p>Choose the username that you want to add.\u00a0 Note that the username previously created &#8220;myusername&#8221; has been shortened to &#8220;myusern&#8221;\u00a0 This is the name that you need to use in the config.php file.\u00a0<\/p>\n<p>Example: &#8220;vonnamia_myusern&#8221; not &#8220;vonnamia_myusername&#8221;<\/p>\n<p>Select the Database you created from the list.<\/p>\n<p>Select the Checkbox &#8220;All Privileges&#8221;.<\/p>\n<p>Click Add User To Database<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" title=\"Image 6\" src=\"http:\/\/www.withinweb.com\/graphics\/wordpress\/cpanel6_new_style.gif\" alt=\"\" width=\"400\" height=\"282\" \/><\/p>\n<p><strong>MySql Account Maintenance\u00a0<\/strong><\/p>\n<p>This will take you back to the MySql Account Maintenance page for verification, you will see the shortened Username there.<\/p>\n<p>Click on the\u00a0Go Back button and you will see the contents of your finished Database.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" title=\"Imge 7\" src=\"http:\/\/www.withinweb.com\/graphics\/wordpress\/cpanel7_new_style.gif\" alt=\"\" width=\"400\" height=\"214\" \/><\/p>\n<p><strong>Running the install.php file<\/strong><\/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=\"new cpanel\" src=\"http:\/\/www.withinweb.com\/graphics\/wordpress\/install_new_cpanel.gif\" alt=\"\" width=\"400\" height=\"300\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Log in to your Cpanel Log into cPanel and click on the mySQL database link. Create A New Database Scroll down to where it says &#8216;new database&#8217; and enter your choosen database name in the field and click on &#8216;Create<span class=\"ellipsis\">&hellip;<\/span><\/p>\n<div class=\"read-more\"><a href=\"https:\/\/www.withinweb.com\/info\/creating-a-mysql-database-in-cpanel-new-style\/\">Read more <span class=\"screen-reader-text\">Creating a mySQL Database in cPanel (new 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-164","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>Creating a mySQL Database in cPanel (new 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\/creating-a-mysql-database-in-cpanel-new-style\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Creating a mySQL Database in cPanel (new style) - PHP Web Applications\" \/>\n<meta property=\"og:description\" content=\"Log in to your Cpanel Log into cPanel and click on the mySQL database link. Create A New Database Scroll down to where it says &#8216;new database&#8217; and enter your choosen database name in the field and click on &#8216;Create&hellip;Read more Creating a mySQL Database in cPanel (new style) &#8250;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.withinweb.com\/info\/creating-a-mysql-database-in-cpanel-new-style\/\" \/>\n<meta property=\"og:site_name\" content=\"PHP Web Applications\" \/>\n<meta property=\"article:published_time\" content=\"2009-04-04T08:19:49+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2009-04-04T08:37:04+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/www.withinweb.com\/graphics\/wordpress\/cpanel1_new_style.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\\\/creating-a-mysql-database-in-cpanel-new-style\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.withinweb.com\\\/info\\\/creating-a-mysql-database-in-cpanel-new-style\\\/\"},\"author\":{\"name\":\"paulv\",\"@id\":\"https:\\\/\\\/www.withinweb.com\\\/info\\\/#\\\/schema\\\/person\\\/04da5531c302d55ffcd777fe81dbb93c\"},\"headline\":\"Creating a mySQL Database in cPanel (new style)\",\"datePublished\":\"2009-04-04T08:19:49+00:00\",\"dateModified\":\"2009-04-04T08:37:04+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.withinweb.com\\\/info\\\/creating-a-mysql-database-in-cpanel-new-style\\\/\"},\"wordCount\":362,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/www.withinweb.com\\\/info\\\/creating-a-mysql-database-in-cpanel-new-style\\\/#primaryimage\"},\"thumbnailUrl\":\"http:\\\/\\\/www.withinweb.com\\\/graphics\\\/wordpress\\\/cpanel1_new_style.gif\",\"articleSection\":[\"PHP-eSeller\",\"PHP-KeyCodes\",\"PHP-SecureArea\",\"SQL databases\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.withinweb.com\\\/info\\\/creating-a-mysql-database-in-cpanel-new-style\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.withinweb.com\\\/info\\\/creating-a-mysql-database-in-cpanel-new-style\\\/\",\"url\":\"https:\\\/\\\/www.withinweb.com\\\/info\\\/creating-a-mysql-database-in-cpanel-new-style\\\/\",\"name\":\"Creating a mySQL Database in cPanel (new style) - PHP Web Applications\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.withinweb.com\\\/info\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.withinweb.com\\\/info\\\/creating-a-mysql-database-in-cpanel-new-style\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.withinweb.com\\\/info\\\/creating-a-mysql-database-in-cpanel-new-style\\\/#primaryimage\"},\"thumbnailUrl\":\"http:\\\/\\\/www.withinweb.com\\\/graphics\\\/wordpress\\\/cpanel1_new_style.gif\",\"datePublished\":\"2009-04-04T08:19:49+00:00\",\"dateModified\":\"2009-04-04T08:37:04+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.withinweb.com\\\/info\\\/#\\\/schema\\\/person\\\/04da5531c302d55ffcd777fe81dbb93c\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.withinweb.com\\\/info\\\/creating-a-mysql-database-in-cpanel-new-style\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.withinweb.com\\\/info\\\/creating-a-mysql-database-in-cpanel-new-style\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.withinweb.com\\\/info\\\/creating-a-mysql-database-in-cpanel-new-style\\\/#primaryimage\",\"url\":\"http:\\\/\\\/www.withinweb.com\\\/graphics\\\/wordpress\\\/cpanel1_new_style.gif\",\"contentUrl\":\"http:\\\/\\\/www.withinweb.com\\\/graphics\\\/wordpress\\\/cpanel1_new_style.gif\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.withinweb.com\\\/info\\\/creating-a-mysql-database-in-cpanel-new-style\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.withinweb.com\\\/info\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Creating a mySQL Database in cPanel (new 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":"Creating a mySQL Database in cPanel (new 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\/creating-a-mysql-database-in-cpanel-new-style\/","og_locale":"en_US","og_type":"article","og_title":"Creating a mySQL Database in cPanel (new style) - PHP Web Applications","og_description":"Log in to your Cpanel Log into cPanel and click on the mySQL database link. Create A New Database Scroll down to where it says &#8216;new database&#8217; and enter your choosen database name in the field and click on &#8216;Create&hellip;Read more Creating a mySQL Database in cPanel (new style) &#8250;","og_url":"https:\/\/www.withinweb.com\/info\/creating-a-mysql-database-in-cpanel-new-style\/","og_site_name":"PHP Web Applications","article_published_time":"2009-04-04T08:19:49+00:00","article_modified_time":"2009-04-04T08:37:04+00:00","og_image":[{"url":"http:\/\/www.withinweb.com\/graphics\/wordpress\/cpanel1_new_style.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\/creating-a-mysql-database-in-cpanel-new-style\/#article","isPartOf":{"@id":"https:\/\/www.withinweb.com\/info\/creating-a-mysql-database-in-cpanel-new-style\/"},"author":{"name":"paulv","@id":"https:\/\/www.withinweb.com\/info\/#\/schema\/person\/04da5531c302d55ffcd777fe81dbb93c"},"headline":"Creating a mySQL Database in cPanel (new style)","datePublished":"2009-04-04T08:19:49+00:00","dateModified":"2009-04-04T08:37:04+00:00","mainEntityOfPage":{"@id":"https:\/\/www.withinweb.com\/info\/creating-a-mysql-database-in-cpanel-new-style\/"},"wordCount":362,"commentCount":0,"image":{"@id":"https:\/\/www.withinweb.com\/info\/creating-a-mysql-database-in-cpanel-new-style\/#primaryimage"},"thumbnailUrl":"http:\/\/www.withinweb.com\/graphics\/wordpress\/cpanel1_new_style.gif","articleSection":["PHP-eSeller","PHP-KeyCodes","PHP-SecureArea","SQL databases"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.withinweb.com\/info\/creating-a-mysql-database-in-cpanel-new-style\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.withinweb.com\/info\/creating-a-mysql-database-in-cpanel-new-style\/","url":"https:\/\/www.withinweb.com\/info\/creating-a-mysql-database-in-cpanel-new-style\/","name":"Creating a mySQL Database in cPanel (new style) - PHP Web Applications","isPartOf":{"@id":"https:\/\/www.withinweb.com\/info\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.withinweb.com\/info\/creating-a-mysql-database-in-cpanel-new-style\/#primaryimage"},"image":{"@id":"https:\/\/www.withinweb.com\/info\/creating-a-mysql-database-in-cpanel-new-style\/#primaryimage"},"thumbnailUrl":"http:\/\/www.withinweb.com\/graphics\/wordpress\/cpanel1_new_style.gif","datePublished":"2009-04-04T08:19:49+00:00","dateModified":"2009-04-04T08:37:04+00:00","author":{"@id":"https:\/\/www.withinweb.com\/info\/#\/schema\/person\/04da5531c302d55ffcd777fe81dbb93c"},"breadcrumb":{"@id":"https:\/\/www.withinweb.com\/info\/creating-a-mysql-database-in-cpanel-new-style\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.withinweb.com\/info\/creating-a-mysql-database-in-cpanel-new-style\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.withinweb.com\/info\/creating-a-mysql-database-in-cpanel-new-style\/#primaryimage","url":"http:\/\/www.withinweb.com\/graphics\/wordpress\/cpanel1_new_style.gif","contentUrl":"http:\/\/www.withinweb.com\/graphics\/wordpress\/cpanel1_new_style.gif"},{"@type":"BreadcrumbList","@id":"https:\/\/www.withinweb.com\/info\/creating-a-mysql-database-in-cpanel-new-style\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.withinweb.com\/info\/"},{"@type":"ListItem","position":2,"name":"Creating a mySQL Database in cPanel (new 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\/164","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=164"}],"version-history":[{"count":18,"href":"https:\/\/www.withinweb.com\/info\/wp-json\/wp\/v2\/posts\/164\/revisions"}],"predecessor-version":[{"id":183,"href":"https:\/\/www.withinweb.com\/info\/wp-json\/wp\/v2\/posts\/164\/revisions\/183"}],"wp:attachment":[{"href":"https:\/\/www.withinweb.com\/info\/wp-json\/wp\/v2\/media?parent=164"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.withinweb.com\/info\/wp-json\/wp\/v2\/categories?post=164"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.withinweb.com\/info\/wp-json\/wp\/v2\/tags?post=164"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}