{"id":1140,"date":"2009-12-15T07:01:14","date_gmt":"2009-12-15T12:01:14","guid":{"rendered":"http:\/\/g33kinfo.com\/info\/?p=1140"},"modified":"2009-12-15T07:01:14","modified_gmt":"2009-12-15T12:01:14","slug":"phpmyadmin-unable-to-create-database","status":"publish","type":"post","link":"https:\/\/g33kinfo.com\/info\/phpmyadmin-unable-to-create-database\/","title":{"rendered":"PhpMyadmin unable to create database"},"content":{"rendered":"<p>If you ever run into a problem where you have phpMyadmin open and cannot find where to create a database, because it is simply not there, ssh into your server and from the command line run;<\/p>\n<p><code><br \/>\nvim \/usr\/local\/cpanel\/base\/3rdparty\/phpMyAdmin\/config.inc.php<br \/>\n<\/code><br \/>\nlook for the following lines in the file; (may be towards the bottom)<br \/>\n<code><br \/>\n\/\/ cpanel: cases 36079, 36080, 36144<br \/>\n$cfg['ShowChgPassword'] = false;<br \/>\n$cfg['ShowCreateDb'] = false;<br \/>\n$cfg['AllowUserDropDatabase'] = false;<br \/>\n<\/code><br \/>\nand change it to<br \/>\n<code><br \/>\n\/\/ cpanel: cases 36079, 36080, 36144<br \/>\n$cfg['ShowChgPassword'] = false;<br \/>\n$cfg['ShowCreateDb'] = true;<br \/>\n$cfg['AllowUserDropDatabase'] = false;<br \/>\n<\/code><\/p>\n<p>This will now allow phpMyadmin to show the &#8220;Create database&#8221; option located directly under the &#8220;MySQL connection collation:&#8221; option.<br \/>\nHere is the default file if you need a reference.<\/p>\n<p><code><br \/>\n< ?php\n\/* vim: set expandtab sw=4 ts=4 sts=4: *\/\n\/**\n * phpMyAdmin sample configuration, you can use it as base for\n * manual configuration. For easier setup you can use scripts\/setup.php\n *\n * All directives are explained in Documentation.html and on phpMyAdmin\n * wiki <http:\/\/wiki.cihar.com>.<br \/>\n *<br \/>\n * @version $Id: config.sample.inc.php 10142 2007-03-20 10:32:13Z cybot_tm $<br \/>\n *\/<\/p>\n<p>\/*<br \/>\n * This is needed for cookie based authentication to encrypt password in<br \/>\n * cookie<br \/>\n *\/<br \/>\n$cfg['blowfish_secret'] = ''; \/* YOU MUST FILL IN THIS FOR COOKIE AUTH! *\/<\/p>\n<p>\/*<br \/>\n * Servers configuration<br \/>\n *\/<br \/>\n$i = 0;<\/p>\n<p>\/*<br \/>\n * First server<br \/>\n *\/<br \/>\n$i++;<br \/>\n\/* Authentication type *\/<br \/>\n$cfg['Servers'][$i]['auth_type'] = 'http';<br \/>\n\/* Server parameters *\/<br \/>\n$cfg['Servers'][$i]['host'] = 'localhost';<br \/>\n$cfg['Servers'][$i]['connect_type'] = 'tcp';<br \/>\n$cfg['Servers'][$i]['compress'] = false;<br \/>\n\/* Select mysqli if your server has it *\/<br \/>\n$cfg['Servers'][$i]['extension'] = 'mysql';<br \/>\n\/* User for advanced features *\/<br \/>\n\/\/ $cfg['Servers'][$i]['controluser'] = 'pma';<br \/>\n\/\/ $cfg['Servers'][$i]['controlpass'] = 'pmapass';<br \/>\n\/* Advanced phpMyAdmin features *\/<br \/>\n\/\/ $cfg['Servers'][$i]['pmadb'] = 'phpmyadmin';<br \/>\n\/\/ $cfg['Servers'][$i]['bookmarktable'] = 'pma_bookmark';<br \/>\n\/\/ $cfg['Servers'][$i]['relation'] = 'pma_relation';<br \/>\n\/\/ $cfg['Servers'][$i]['table_info'] = 'pma_table_info';<br \/>\n\/\/ $cfg['Servers'][$i]['table_coords'] = 'pma_table_coords';<br \/>\n\/\/ $cfg['Servers'][$i]['pdf_pages'] = 'pma_pdf_pages';<br \/>\n\/\/ $cfg['Servers'][$i]['column_info'] = 'pma_column_info';<br \/>\n\/\/ $cfg['Servers'][$i]['history'] = 'pma_history';<br \/>\n\/\/ $cfg['Servers'][$i]['designer_coords'] = 'pma_designer_coords';<\/p>\n<p>\/*<br \/>\n * End of servers configuration<br \/>\n *\/<\/p>\n<p>\/*<br \/>\n * Directories for saving\/loading files from server<br \/>\n *\/<br \/>\n$cfg['UploadDir'] = '';<br \/>\n$cfg['SaveDir'] = '';<\/p>\n<p>?><br \/>\n<\/code><\/p>\n<p>As a workaround, use the cpanel function &#8220;Mysql Databases&#8221;  >> &#8220;Create New Database&#8221; to create a database for a user account as this allows for the creation of a database outside of phpmyadmin.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you ever run into a problem where you have phpMyadmin open and cannot find where to create a database, because it is simply not there, ssh into your server and from the command line run; vim \/usr\/local\/cpanel\/base\/3rdparty\/phpMyAdmin\/config.inc.php look for the following lines in the file; (may be towards the bottom) \/\/ cpanel: cases 36079,&#8230; <\/p>\n<div class=\"read-more navbutton\"><a href=\"https:\/\/g33kinfo.com\/info\/phpmyadmin-unable-to-create-database\/\">Read More<i class=\"fa fa-angle-double-right\"><\/i><\/a><\/div>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[],"class_list":["post-1140","post","type-post","status-publish","format-standard","hentry","category-info"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>PhpMyadmin unable to create database - Linux Shtuff<\/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:\/\/g33kinfo.com\/info\/phpmyadmin-unable-to-create-database\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"PhpMyadmin unable to create database - Linux Shtuff\" \/>\n<meta property=\"og:description\" content=\"If you ever run into a problem where you have phpMyadmin open and cannot find where to create a database, because it is simply not there, ssh into your server and from the command line run; vim \/usr\/local\/cpanel\/base\/3rdparty\/phpMyAdmin\/config.inc.php look for the following lines in the file; (may be towards the bottom) \/\/ cpanel: cases 36079,... Read More\" \/>\n<meta property=\"og:url\" content=\"https:\/\/g33kinfo.com\/info\/phpmyadmin-unable-to-create-database\/\" \/>\n<meta property=\"og:site_name\" content=\"Linux Shtuff\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/fb.me\/g33kinf0\" \/>\n<meta property=\"article:author\" content=\"https:\/\/fb.me\/g33kinf0\" \/>\n<meta property=\"article:published_time\" content=\"2009-12-15T12:01:14+00:00\" \/>\n<meta name=\"author\" content=\"g33kadmin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@https:\/\/twitter.com\/drsinger1111\" \/>\n<meta name=\"twitter:site\" content=\"@drsinger1111\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/phpmyadmin-unable-to-create-database\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/phpmyadmin-unable-to-create-database\\\/\"},\"author\":{\"name\":\"g33kadmin\",\"@id\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/#\\\/schema\\\/person\\\/c022e4c40b13ea1b678e6f020756f547\"},\"headline\":\"PhpMyadmin unable to create database\",\"datePublished\":\"2009-12-15T12:01:14+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/phpmyadmin-unable-to-create-database\\\/\"},\"wordCount\":119,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/#\\\/schema\\\/person\\\/c022e4c40b13ea1b678e6f020756f547\"},\"articleSection\":[\"General Info\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/g33kinfo.com\\\/info\\\/phpmyadmin-unable-to-create-database\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/phpmyadmin-unable-to-create-database\\\/\",\"url\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/phpmyadmin-unable-to-create-database\\\/\",\"name\":\"PhpMyadmin unable to create database - Linux Shtuff\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/#website\"},\"datePublished\":\"2009-12-15T12:01:14+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/phpmyadmin-unable-to-create-database\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/g33kinfo.com\\\/info\\\/phpmyadmin-unable-to-create-database\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/phpmyadmin-unable-to-create-database\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"PhpMyadmin unable to create database\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/#website\",\"url\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/\",\"name\":\"Linux Shtuff\",\"description\":\"Because I have CRS Syndrome...\",\"publisher\":{\"@id\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/#\\\/schema\\\/person\\\/c022e4c40b13ea1b678e6f020756f547\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/#\\\/schema\\\/person\\\/c022e4c40b13ea1b678e6f020756f547\",\"name\":\"g33kadmin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/wp-content\\\/uploads\\\/2022\\\/07\\\/minion-researchA.gif\",\"url\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/wp-content\\\/uploads\\\/2022\\\/07\\\/minion-researchA.gif\",\"contentUrl\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/wp-content\\\/uploads\\\/2022\\\/07\\\/minion-researchA.gif\",\"width\":512,\"height\":512,\"caption\":\"g33kadmin\"},\"logo\":{\"@id\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/wp-content\\\/uploads\\\/2022\\\/07\\\/minion-researchA.gif\"},\"description\":\"I am a g33k, Linux blogger, developer, student and Tech Writer for Liquidweb.com\\\/kb. My passion for all things tech drives my hunt for all the coolz. I often need a vacation after I get back from vacation....\",\"sameAs\":[\"https:\\\/\\\/thelinuxreport.com\",\"https:\\\/\\\/fb.me\\\/g33kinf0\",\"https:\\\/\\\/x.com\\\/https:\\\/\\\/twitter.com\\\/drsinger1111\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"PhpMyadmin unable to create database - Linux Shtuff","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:\/\/g33kinfo.com\/info\/phpmyadmin-unable-to-create-database\/","og_locale":"en_US","og_type":"article","og_title":"PhpMyadmin unable to create database - Linux Shtuff","og_description":"If you ever run into a problem where you have phpMyadmin open and cannot find where to create a database, because it is simply not there, ssh into your server and from the command line run; vim \/usr\/local\/cpanel\/base\/3rdparty\/phpMyAdmin\/config.inc.php look for the following lines in the file; (may be towards the bottom) \/\/ cpanel: cases 36079,... Read More","og_url":"https:\/\/g33kinfo.com\/info\/phpmyadmin-unable-to-create-database\/","og_site_name":"Linux Shtuff","article_publisher":"https:\/\/fb.me\/g33kinf0","article_author":"https:\/\/fb.me\/g33kinf0","article_published_time":"2009-12-15T12:01:14+00:00","author":"g33kadmin","twitter_card":"summary_large_image","twitter_creator":"@https:\/\/twitter.com\/drsinger1111","twitter_site":"@drsinger1111","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/g33kinfo.com\/info\/phpmyadmin-unable-to-create-database\/#article","isPartOf":{"@id":"https:\/\/g33kinfo.com\/info\/phpmyadmin-unable-to-create-database\/"},"author":{"name":"g33kadmin","@id":"https:\/\/g33kinfo.com\/info\/#\/schema\/person\/c022e4c40b13ea1b678e6f020756f547"},"headline":"PhpMyadmin unable to create database","datePublished":"2009-12-15T12:01:14+00:00","mainEntityOfPage":{"@id":"https:\/\/g33kinfo.com\/info\/phpmyadmin-unable-to-create-database\/"},"wordCount":119,"commentCount":0,"publisher":{"@id":"https:\/\/g33kinfo.com\/info\/#\/schema\/person\/c022e4c40b13ea1b678e6f020756f547"},"articleSection":["General Info"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/g33kinfo.com\/info\/phpmyadmin-unable-to-create-database\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/g33kinfo.com\/info\/phpmyadmin-unable-to-create-database\/","url":"https:\/\/g33kinfo.com\/info\/phpmyadmin-unable-to-create-database\/","name":"PhpMyadmin unable to create database - Linux Shtuff","isPartOf":{"@id":"https:\/\/g33kinfo.com\/info\/#website"},"datePublished":"2009-12-15T12:01:14+00:00","breadcrumb":{"@id":"https:\/\/g33kinfo.com\/info\/phpmyadmin-unable-to-create-database\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/g33kinfo.com\/info\/phpmyadmin-unable-to-create-database\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/g33kinfo.com\/info\/phpmyadmin-unable-to-create-database\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/g33kinfo.com\/info\/"},{"@type":"ListItem","position":2,"name":"PhpMyadmin unable to create database"}]},{"@type":"WebSite","@id":"https:\/\/g33kinfo.com\/info\/#website","url":"https:\/\/g33kinfo.com\/info\/","name":"Linux Shtuff","description":"Because I have CRS Syndrome...","publisher":{"@id":"https:\/\/g33kinfo.com\/info\/#\/schema\/person\/c022e4c40b13ea1b678e6f020756f547"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/g33kinfo.com\/info\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/g33kinfo.com\/info\/#\/schema\/person\/c022e4c40b13ea1b678e6f020756f547","name":"g33kadmin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/g33kinfo.com\/info\/wp-content\/uploads\/2022\/07\/minion-researchA.gif","url":"https:\/\/g33kinfo.com\/info\/wp-content\/uploads\/2022\/07\/minion-researchA.gif","contentUrl":"https:\/\/g33kinfo.com\/info\/wp-content\/uploads\/2022\/07\/minion-researchA.gif","width":512,"height":512,"caption":"g33kadmin"},"logo":{"@id":"https:\/\/g33kinfo.com\/info\/wp-content\/uploads\/2022\/07\/minion-researchA.gif"},"description":"I am a g33k, Linux blogger, developer, student and Tech Writer for Liquidweb.com\/kb. My passion for all things tech drives my hunt for all the coolz. I often need a vacation after I get back from vacation....","sameAs":["https:\/\/thelinuxreport.com","https:\/\/fb.me\/g33kinf0","https:\/\/x.com\/https:\/\/twitter.com\/drsinger1111"]}]}},"_links":{"self":[{"href":"https:\/\/g33kinfo.com\/info\/wp-json\/wp\/v2\/posts\/1140","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/g33kinfo.com\/info\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/g33kinfo.com\/info\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/g33kinfo.com\/info\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/g33kinfo.com\/info\/wp-json\/wp\/v2\/comments?post=1140"}],"version-history":[{"count":0,"href":"https:\/\/g33kinfo.com\/info\/wp-json\/wp\/v2\/posts\/1140\/revisions"}],"wp:attachment":[{"href":"https:\/\/g33kinfo.com\/info\/wp-json\/wp\/v2\/media?parent=1140"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/g33kinfo.com\/info\/wp-json\/wp\/v2\/categories?post=1140"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/g33kinfo.com\/info\/wp-json\/wp\/v2\/tags?post=1140"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}