💡 Like BikeGremlin? Support me on Patreon or buy me a coffee
Search...

PhpMyAdmin database creation and user privileges

In this post I’ll briefly explain how to use PhpMyAdmin tool to create a database and assign privileges (rights) to database users. Within other posts I’ve already explained how it is done using other tools:

If you are using one of the above mentioned control panels, they contain an icon for starting PhpMyAdmin. Though you can install it manually within a subdirectory, or as a part of WAMP, or LAMP installation, on your local (home) computer. Separate posts explain this part:

Either way, if you need to use a database (for installing WordPress for example), you will need to create it, and a user, with needed access rights / privileges. The explanation is simple, brief, pictures speak for themselves:

If it is being done on a local computer, open a browser and type this address:
http://localhost/phpmyadmin/


Now a database should be created:


User you logged in with and created the database usually automatically gets all the privileges. If you wish to give the privileges to another user (you had created), this is the procedure:


Now you will get a menu for adding privileges:

That’s about it, put briefly. I made a long tutorial video on website migration, where I also show working within PhpMyAdmin. I’ll provide a link, that should take you to the video’s time of 7:48 where PhpMyAdmin use is shown briefly. Video: WordPress website migration – manually.


Last updated:


Originally published:



2 thoughts on “PhpMyAdmin database creation and user privileges”

  1. LAMP installed OK but phpmyadmin does not load the log in screen as depicted above, just get a mass of text like this “addJSON( ‘list’, RecentFavoriteTable::getInstance(‘recent’)->getHtmlList() ); exit; } if ($GLOBALS[‘PMA_Config’]->isGitRevision()) { if (isset($_REQUEST[‘git_revision’]) && $GLOBALS[‘is_ajax_request’] == true) { PMA_printGitRevision(); exit; } echo ‘
    ‘; } // Handles some variables that may have been sent by the calling script $GLOBALS[‘db’] = ”; $GLOBALS[‘table’] = ”; $show_query = ‘1’; // Any message to display? if (! empty($message)) { echo PMA\libraries\Util::getMessage($message); unset($message); } $common_url_query = PMA_URL_getCommon(); ”
    Any help much appreciated

Comments are closed.


Please use the BikeGremlin.net forum for any comments or questions.

If you've found any errors or lacking information in the article(s) - please let me know by commenting on the BikeGremlin forum or by sending a message via the forum's contact form.
You can comment anonymously (by registering with any name/nickname), but I think it is good to publicly document all the article additions (and especially corrections) - even if their author chooses to remain anonymous.

Tools and other products that I use (and can recommend)