{"id":17,"date":"2008-08-19T21:46:57","date_gmt":"2008-08-19T20:46:57","guid":{"rendered":"http:\/\/www.withinweb.com\/info\/?p=17"},"modified":"2010-04-17T12:27:39","modified_gmt":"2010-04-17T12:27:39","slug":"creating-a-database-user-with-myphpadmin","status":"publish","type":"post","link":"https:\/\/www.withinweb.com\/info\/creating-a-database-user-with-myphpadmin\/","title":{"rendered":"Creating a database user with myPHPAdmin"},"content":{"rendered":"<p><a href=\"\/phpeseller\/\">PHP-eSeller<\/a>, <a href=\"\/phpsecurearea\/\">PHP-SecureArea<\/a> and <a href=\"\/phpkeycodes\/\">PHP-KeyCodes<\/a> all require a mySQL database and hence require a database username and password.  Normally you will interact with the mySQL database using a control panel which will incorporate tools to easily create database and users.  These facilities are provided by your web host and will be the best way to create database users.<\/p>\n<p>However, with some web hosts it may be necessary to to create a user using myPHPAdmin.<\/p>\n<p>To creating a user using the myPHPAdmin interface, asuming that you are logged in to myPHPAdmin with full previleges :<\/p>\n<p>In a sql text box enter :<\/p>\n<p><code>GRANT SELECT, INSERT, UPDATE, DELETE ON eseller.* TO eselleruser@localhost IDENTIFIED BY 'piggy911';<br \/>\nFLUSH PREVILEGES;<br \/>\n<\/code><br \/>\nThis above assumes that &#8216;eseller&#8217; is the name of the database, &#8216;eselleruser&#8217; is the name of the database user and &#8216;piggy911&#8217; is the password.<\/p>\n<p>This will create a user with select, insert, update and delete previlages which is all that is required for a normal user.<\/p>\n<p>NOTE that to create tables the user needs to have create table privileges which can be given by changing the the sql to<\/p>\n<p><code>GRANT ALL PRIVILEGES ON eseller.* TO eselleruser@localhost IDENTIFIED BY 'piggy911';<br \/>\nFLUSH PREVILEGES;<\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>PHP-eSeller, PHP-SecureArea and PHP-KeyCodes all require a mySQL database and hence require a database username and password. Normally you will interact with the mySQL database using a control panel which will incorporate tools to easily create database and users. These<span class=\"ellipsis\">&hellip;<\/span><\/p>\n<div class=\"read-more\"><a href=\"https:\/\/www.withinweb.com\/info\/creating-a-database-user-with-myphpadmin\/\">Read more <span class=\"screen-reader-text\">Creating a database user with myPHPAdmin<\/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":[6,3,5,4],"tags":[],"class_list":["post-17","post","type-post","status-publish","format-standard","hentry","category-general-php","category-php-eseller","category-php-keycodes","category-php-securearea"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Creating a database user with myPHPAdmin - 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-database-user-with-myphpadmin\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Creating a database user with myPHPAdmin - PHP Web Applications\" \/>\n<meta property=\"og:description\" content=\"PHP-eSeller, PHP-SecureArea and PHP-KeyCodes all require a mySQL database and hence require a database username and password. Normally you will interact with the mySQL database using a control panel which will incorporate tools to easily create database and users. These&hellip;Read more Creating a database user with myPHPAdmin &#8250;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.withinweb.com\/info\/creating-a-database-user-with-myphpadmin\/\" \/>\n<meta property=\"og:site_name\" content=\"PHP Web Applications\" \/>\n<meta property=\"article:published_time\" content=\"2008-08-19T20:46:57+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2010-04-17T12:27:39+00:00\" \/>\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=\"1 minute\" \/>\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-database-user-with-myphpadmin\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.withinweb.com\\\/info\\\/creating-a-database-user-with-myphpadmin\\\/\"},\"author\":{\"name\":\"paulv\",\"@id\":\"https:\\\/\\\/www.withinweb.com\\\/info\\\/#\\\/schema\\\/person\\\/04da5531c302d55ffcd777fe81dbb93c\"},\"headline\":\"Creating a database user with myPHPAdmin\",\"datePublished\":\"2008-08-19T20:46:57+00:00\",\"dateModified\":\"2010-04-17T12:27:39+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.withinweb.com\\\/info\\\/creating-a-database-user-with-myphpadmin\\\/\"},\"wordCount\":173,\"commentCount\":0,\"articleSection\":[\"General PHP\",\"PHP-eSeller\",\"PHP-KeyCodes\",\"PHP-SecureArea\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.withinweb.com\\\/info\\\/creating-a-database-user-with-myphpadmin\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.withinweb.com\\\/info\\\/creating-a-database-user-with-myphpadmin\\\/\",\"url\":\"https:\\\/\\\/www.withinweb.com\\\/info\\\/creating-a-database-user-with-myphpadmin\\\/\",\"name\":\"Creating a database user with myPHPAdmin - PHP Web Applications\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.withinweb.com\\\/info\\\/#website\"},\"datePublished\":\"2008-08-19T20:46:57+00:00\",\"dateModified\":\"2010-04-17T12:27:39+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.withinweb.com\\\/info\\\/#\\\/schema\\\/person\\\/04da5531c302d55ffcd777fe81dbb93c\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.withinweb.com\\\/info\\\/creating-a-database-user-with-myphpadmin\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.withinweb.com\\\/info\\\/creating-a-database-user-with-myphpadmin\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.withinweb.com\\\/info\\\/creating-a-database-user-with-myphpadmin\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.withinweb.com\\\/info\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Creating a database user with myPHPAdmin\"}]},{\"@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 database user with myPHPAdmin - 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-database-user-with-myphpadmin\/","og_locale":"en_US","og_type":"article","og_title":"Creating a database user with myPHPAdmin - PHP Web Applications","og_description":"PHP-eSeller, PHP-SecureArea and PHP-KeyCodes all require a mySQL database and hence require a database username and password. Normally you will interact with the mySQL database using a control panel which will incorporate tools to easily create database and users. These&hellip;Read more Creating a database user with myPHPAdmin &#8250;","og_url":"https:\/\/www.withinweb.com\/info\/creating-a-database-user-with-myphpadmin\/","og_site_name":"PHP Web Applications","article_published_time":"2008-08-19T20:46:57+00:00","article_modified_time":"2010-04-17T12:27:39+00:00","author":"paulv","twitter_card":"summary_large_image","twitter_misc":{"Written by":"paulv","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.withinweb.com\/info\/creating-a-database-user-with-myphpadmin\/#article","isPartOf":{"@id":"https:\/\/www.withinweb.com\/info\/creating-a-database-user-with-myphpadmin\/"},"author":{"name":"paulv","@id":"https:\/\/www.withinweb.com\/info\/#\/schema\/person\/04da5531c302d55ffcd777fe81dbb93c"},"headline":"Creating a database user with myPHPAdmin","datePublished":"2008-08-19T20:46:57+00:00","dateModified":"2010-04-17T12:27:39+00:00","mainEntityOfPage":{"@id":"https:\/\/www.withinweb.com\/info\/creating-a-database-user-with-myphpadmin\/"},"wordCount":173,"commentCount":0,"articleSection":["General PHP","PHP-eSeller","PHP-KeyCodes","PHP-SecureArea"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.withinweb.com\/info\/creating-a-database-user-with-myphpadmin\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.withinweb.com\/info\/creating-a-database-user-with-myphpadmin\/","url":"https:\/\/www.withinweb.com\/info\/creating-a-database-user-with-myphpadmin\/","name":"Creating a database user with myPHPAdmin - PHP Web Applications","isPartOf":{"@id":"https:\/\/www.withinweb.com\/info\/#website"},"datePublished":"2008-08-19T20:46:57+00:00","dateModified":"2010-04-17T12:27:39+00:00","author":{"@id":"https:\/\/www.withinweb.com\/info\/#\/schema\/person\/04da5531c302d55ffcd777fe81dbb93c"},"breadcrumb":{"@id":"https:\/\/www.withinweb.com\/info\/creating-a-database-user-with-myphpadmin\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.withinweb.com\/info\/creating-a-database-user-with-myphpadmin\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.withinweb.com\/info\/creating-a-database-user-with-myphpadmin\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.withinweb.com\/info\/"},{"@type":"ListItem","position":2,"name":"Creating a database user with myPHPAdmin"}]},{"@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\/17","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=17"}],"version-history":[{"count":2,"href":"https:\/\/www.withinweb.com\/info\/wp-json\/wp\/v2\/posts\/17\/revisions"}],"predecessor-version":[{"id":530,"href":"https:\/\/www.withinweb.com\/info\/wp-json\/wp\/v2\/posts\/17\/revisions\/530"}],"wp:attachment":[{"href":"https:\/\/www.withinweb.com\/info\/wp-json\/wp\/v2\/media?parent=17"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.withinweb.com\/info\/wp-json\/wp\/v2\/categories?post=17"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.withinweb.com\/info\/wp-json\/wp\/v2\/tags?post=17"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}