{"id":3951,"date":"2020-03-05T23:19:48","date_gmt":"2020-03-05T23:19:48","guid":{"rendered":"https:\/\/lamp.ciscoar.com\/?page_id=3951"},"modified":"2020-03-06T00:56:34","modified_gmt":"2020-03-06T00:56:34","slug":"mariadb-admin-user","status":"publish","type":"page","link":"https:\/\/lamp.ciscoar.com\/?page_id=3951","title":{"rendered":"MariaDB admin user"},"content":{"rendered":"\n\n\n<h2 class=\"wp-block-heading\">Administrator user account<\/h2>\n\n\n\n<p>It is always recommended to have one specific user account for the MariaDB administration, using the GUI provided by phpMyAdmin is really easy to add new users and also to assign permissions over databases.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Root account<\/h2>\n\n\n\n<p>If you are working on a LAB environment you can perfectly use the super user account, I&#8217;m talking about the user called &#8220;root&#8221;, the one that was configured (a password was assigned) while performing the <a href=\"\/mysql-mariadb-secure-installation\/\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\"MariaDB securization (opens in a new tab)\">MariaDB securization<\/a> (if that&#8217;s a valid word).<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">LAB environment case<\/h2>\n\n\n\n<p>In our case, we are working on a LAB environment and for that reason we can just go ahead and configure the user &#8220;root&#8221; as the user in charge of the <a href=\"\/creating-a-new-mysql-maria-data-base\/\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\"MariaDB recently created (opens in a new tab)\">MariaDB recently created<\/a> administration, just for educational purposes.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><a href=\"https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/03\/MariaDBMySQL-user_admin.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/03\/MariaDBMySQL-user_admin-1024x427.jpg\" alt=\"\" class=\"wp-image-3954\" width=\"768\" height=\"320\" srcset=\"https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/03\/MariaDBMySQL-user_admin-1024x427.jpg 1024w, https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/03\/MariaDBMySQL-user_admin-300x125.jpg 300w, https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/03\/MariaDBMySQL-user_admin-768x320.jpg 768w, https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/03\/MariaDBMySQL-user_admin.jpg 1033w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/a><figcaption>root account has ALL privileges over the selected database<\/figcaption><\/figure><\/div>\n\n\n\n<p>The above phpMyAdmin screenshot shows our LAB and for that particular database called &#8220;<strong>php_website_database<\/strong>&#8221; the super user &#8220;root&#8221; has granted ALL PRIVILEGES, that is perfectly fine for us because that&#8217;s all we need to integrate the database with WordPress and be able to start building our website.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Where to go next?<\/h2>\n\n\n\n<p>Now that is clear we&#8217;re going to use the MariaDB &#8220;root&#8221; accoun to integrate WordPress with its database, you can move forward to that step.<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><a href=\"\/integrating-mariadb-with-wordpress\/\">Integrating WordPress with a MariaDB<\/a><\/li><\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Administrator user account It is always recommended to have one specific user account for the MariaDB administration, using the GUI provided by phpMyAdmin is really easy to add new users and also to assign permissions over databases. Root account If you are working on a LAB environment you can perfectly use the super user account, &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/lamp.ciscoar.com\/?page_id=3951\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;MariaDB admin user&#8221;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-3951","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/lamp.ciscoar.com\/index.php?rest_route=\/wp\/v2\/pages\/3951","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lamp.ciscoar.com\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/lamp.ciscoar.com\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/lamp.ciscoar.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/lamp.ciscoar.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3951"}],"version-history":[{"count":8,"href":"https:\/\/lamp.ciscoar.com\/index.php?rest_route=\/wp\/v2\/pages\/3951\/revisions"}],"predecessor-version":[{"id":4007,"href":"https:\/\/lamp.ciscoar.com\/index.php?rest_route=\/wp\/v2\/pages\/3951\/revisions\/4007"}],"wp:attachment":[{"href":"https:\/\/lamp.ciscoar.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3951"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}