{"id":528,"date":"2023-08-15T13:13:22","date_gmt":"2023-08-15T07:43:22","guid":{"rendered":"https:\/\/www.hostbet.in\/blog\/?p=528"},"modified":"2025-01-24T14:40:13","modified_gmt":"2025-01-24T09:10:13","slug":"adding-an-admin-user-to-the-wordpress-database-with-phpmyadmin","status":"publish","type":"post","link":"https:\/\/www.hostbet.in\/blog\/adding-an-admin-user-to-the-wordpress-database-with-phpmyadmin\/","title":{"rendered":"Adding an Admin User to the WordPress Database With phpMyAdmin 2025"},"content":{"rendered":"\n<p>If you&#8217;re one of them facing a locked-out WordPress issue, hackers will hack and lock you out of your WordPress website by deleting WordPress administrator privileges.<\/p>\n\n\n\n<p>In this post, we&#8217;ll walk you through the steps of Adding an Admin User to the WordPress Database With phpMyAdmin<\/p>\n\n\n\n<p>Adding an Admin User to the WordPress Database With phpMyAdmin becomes necessary when a hacker has <a href=\"https:\/\/www.hostbet.in\/blog\/locked-out-of-wordpress-what-you-need-to-fix\/\" data-type=\"link\" data-id=\"https:\/\/www.hostbet.in\/blog\/locked-out-of-wordpress-what-you-need-to-fix\/\">locked your website<\/a>, you have lost access to the WordPress admin panel, or you have forgotten credentials.<\/p>\n\n\n\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_71 counter-hierarchy ez-toc-counter ez-toc-light-blue ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.hostbet.in\/blog\/adding-an-admin-user-to-the-wordpress-database-with-phpmyadmin\/#Adding_an_Admin_User_to_the_WordPress_Database_With_phpMyAdmin\" title=\"Adding an Admin User to the WordPress Database With phpMyAdmin\">Adding an Admin User to the WordPress Database With phpMyAdmin<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.hostbet.in\/blog\/adding-an-admin-user-to-the-wordpress-database-with-phpmyadmin\/#Losing_Administrator_Privileges\" title=\"Losing Administrator Privileges\">Losing Administrator Privileges<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.hostbet.in\/blog\/adding-an-admin-user-to-the-wordpress-database-with-phpmyadmin\/#Conclusion\" title=\"Conclusion\">Conclusion<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.hostbet.in\/blog\/adding-an-admin-user-to-the-wordpress-database-with-phpmyadmin\/#FAQ_section_on_%E2%80%93_Adding_an_Admin_User_to_the_WordPress_Database_With_phpMyAdmin\" title=\"FAQ section on &#8211; Adding an Admin User to the WordPress Database With phpMyAdmin\">FAQ section on &#8211; Adding an Admin User to the WordPress Database With phpMyAdmin<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/www.hostbet.in\/blog\/adding-an-admin-user-to-the-wordpress-database-with-phpmyadmin\/#How_do_I_add_a_user_to_my_phpMyAdmin_database\" title=\"How do I add a user to my phpMyAdmin database?\">How do I add a user to my phpMyAdmin database?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/www.hostbet.in\/blog\/adding-an-admin-user-to-the-wordpress-database-with-phpmyadmin\/#What_is_phpMyAdmin_and_why_do_I_need_it\" title=\"What is phpMyAdmin, and why do I need it?\">What is phpMyAdmin, and why do I need it?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/www.hostbet.in\/blog\/adding-an-admin-user-to-the-wordpress-database-with-phpmyadmin\/#Why_have_I_lost_my_administrator_privileges_in_WordPress\" title=\"Why have I lost my administrator privileges in WordPress?\">Why have I lost my administrator privileges in WordPress?<\/a><\/li><\/ul><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Adding_an_Admin_User_to_the_WordPress_Database_With_phpMyAdmin\"><\/span>Adding an Admin User to the WordPress Database With phpMyAdmin<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Losing_Administrator_Privileges\"><\/span><strong>Losing Administrator Privileges<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>losing administrator privileges means hackers will lock your website and delete your WordPress administrator privileges. In some cases, you are able to log in, but you don&#8217;t have your usual administrator privileges, such as themes, plugins, pages, etc.&nbsp;<\/p>\n\n\n\n<p><strong>To fix the losing Admi administrator privileges, Adding an Admin User to the WordPress Database With phpMyAdmin<\/strong><\/p>\n\n\n\n<p>Once again, here we use the <strong><a href=\"https:\/\/www.hostbet.in\/shared-hosting\" data-type=\"link\" data-id=\"https:\/\/www.hostbet.in\/shared-hosting\">HostBet Shared Hosting<\/a><\/strong> cPanel account screenshot.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/hostadvice.com\/hosting-company\/hostbet-reviews\/\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"546\" src=\"https:\/\/www.hostbet.in\/blog\/wp-content\/uploads\/2023\/08\/adv-1024x546.jpg\" alt=\"\" class=\"wp-image-551\" srcset=\"https:\/\/www.hostbet.in\/blog\/wp-content\/uploads\/2023\/08\/adv-1024x546.jpg 1024w, https:\/\/www.hostbet.in\/blog\/wp-content\/uploads\/2023\/08\/adv-300x160.jpg 300w, https:\/\/www.hostbet.in\/blog\/wp-content\/uploads\/2023\/08\/adv-768x410.jpg 768w, https:\/\/www.hostbet.in\/blog\/wp-content\/uploads\/2023\/08\/adv.jpg 1114w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p><strong>Step 1: <\/strong>Open the cPanel account Dashboard<\/p>\n\n\n\n<p><strong>Step 2:<\/strong> Navigate to phpMyAdmin in the Databases section.<\/p>\n\n\n\n<p><strong>Step 3:<\/strong> Click on phpMyAdmin.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"770\" height=\"206\" src=\"https:\/\/www.hostbet.in\/blog\/wp-content\/uploads\/2023\/08\/image-1.png\" alt=\"Adding an Admin User to the WordPress Database With phpMyAdmin\" class=\"wp-image-533\" srcset=\"https:\/\/www.hostbet.in\/blog\/wp-content\/uploads\/2023\/08\/image-1.png 770w, https:\/\/www.hostbet.in\/blog\/wp-content\/uploads\/2023\/08\/image-1-300x80.png 300w, https:\/\/www.hostbet.in\/blog\/wp-content\/uploads\/2023\/08\/image-1-768x205.png 768w\" sizes=\"(max-width: 770px) 100vw, 770px\" \/><\/figure>\n\n\n\n<p><strong>Step 4: <\/strong>Once you&#8217;re on the phpMyAdmin dashboard, you need to select your WordPress database.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"818\" height=\"438\" src=\"https:\/\/www.hostbet.in\/blog\/wp-content\/uploads\/2023\/08\/image-2.png\" alt=\"Adding an Admin User to the WordPress Database With phpMyAdmin\" class=\"wp-image-534\" srcset=\"https:\/\/www.hostbet.in\/blog\/wp-content\/uploads\/2023\/08\/image-2.png 818w, https:\/\/www.hostbet.in\/blog\/wp-content\/uploads\/2023\/08\/image-2-300x161.png 300w, https:\/\/www.hostbet.in\/blog\/wp-content\/uploads\/2023\/08\/image-2-768x411.png 768w\" sizes=\"(max-width: 818px) 100vw, 818px\" \/><\/figure>\n\n\n\n<p><strong>This will open the WordPress database. You will be making changes to the wp_users and wp_usermeta tables.<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"818\" height=\"493\" src=\"https:\/\/www.hostbet.in\/blog\/wp-content\/uploads\/2023\/08\/IMG_20230814_212027.jpg\" alt=\"Adding an Admin User to the WordPress Database With phpMyAdmin\" class=\"wp-image-521\" srcset=\"https:\/\/www.hostbet.in\/blog\/wp-content\/uploads\/2023\/08\/IMG_20230814_212027.jpg 818w, https:\/\/www.hostbet.in\/blog\/wp-content\/uploads\/2023\/08\/IMG_20230814_212027-300x181.jpg 300w, https:\/\/www.hostbet.in\/blog\/wp-content\/uploads\/2023\/08\/IMG_20230814_212027-768x463.jpg 768w\" sizes=\"(max-width: 818px) 100vw, 818px\" \/><\/figure>\n\n\n\n<p><strong>First, add a user to the wp_users table.<\/strong><\/p>\n\n\n\n<p><strong>Step 5<\/strong>: First, you need to navigate to the wp_users table and click on it. This will open the users currently listed in the table.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"819\" height=\"500\" src=\"https:\/\/www.hostbet.in\/blog\/wp-content\/uploads\/2023\/08\/image-3.png\" alt=\"Adding an Admin User to the WordPress Database With phpMyAdmin\" class=\"wp-image-535\" srcset=\"https:\/\/www.hostbet.in\/blog\/wp-content\/uploads\/2023\/08\/image-3.png 819w, https:\/\/www.hostbet.in\/blog\/wp-content\/uploads\/2023\/08\/image-3-300x183.png 300w, https:\/\/www.hostbet.in\/blog\/wp-content\/uploads\/2023\/08\/image-3-768x469.png 768w\" sizes=\"(max-width: 819px) 100vw, 819px\" \/><\/figure>\n\n\n\n<p><strong>Please note that there is one user ID in our demo website table 1. You need to add a new user using a new unique ID, so we&#8217;ll use the 2 numbers.<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"786\" height=\"416\" src=\"https:\/\/www.hostbet.in\/blog\/wp-content\/uploads\/2023\/08\/IMG_20230814_212423.jpg\" alt=\"Adding an Admin User to the WordPress Database With phpMyAdmin\" class=\"wp-image-522\" srcset=\"https:\/\/www.hostbet.in\/blog\/wp-content\/uploads\/2023\/08\/IMG_20230814_212423.jpg 786w, https:\/\/www.hostbet.in\/blog\/wp-content\/uploads\/2023\/08\/IMG_20230814_212423-300x159.jpg 300w, https:\/\/www.hostbet.in\/blog\/wp-content\/uploads\/2023\/08\/IMG_20230814_212423-768x406.jpg 768w\" sizes=\"(max-width: 786px) 100vw, 786px\" \/><\/figure>\n\n\n\n<p><strong>Step 6:<\/strong> To create a new user, you need to click on the &#8220;Insert&#8221; tab.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"786\" height=\"416\" src=\"https:\/\/www.hostbet.in\/blog\/wp-content\/uploads\/2023\/08\/IMG_20230814_212502.jpg\" alt=\"Adding an Admin User to the WordPress Database With phpMyAdmin\" class=\"wp-image-523\" srcset=\"https:\/\/www.hostbet.in\/blog\/wp-content\/uploads\/2023\/08\/IMG_20230814_212502.jpg 786w, https:\/\/www.hostbet.in\/blog\/wp-content\/uploads\/2023\/08\/IMG_20230814_212502-300x159.jpg 300w, https:\/\/www.hostbet.in\/blog\/wp-content\/uploads\/2023\/08\/IMG_20230814_212502-768x406.jpg 768w\" sizes=\"(max-width: 786px) 100vw, 786px\" \/><\/figure>\n\n\n\n<p><strong>Step 7:<\/strong> Add the following information to the fields on the Insert form:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"921\" height=\"532\" src=\"https:\/\/www.hostbet.in\/blog\/wp-content\/uploads\/2023\/08\/IMG_20230814_212758.jpg\" alt=\"Adding an Admin User to the WordPress Database With phpMyAdmin\" class=\"wp-image-525\" srcset=\"https:\/\/www.hostbet.in\/blog\/wp-content\/uploads\/2023\/08\/IMG_20230814_212758.jpg 921w, https:\/\/www.hostbet.in\/blog\/wp-content\/uploads\/2023\/08\/IMG_20230814_212758-300x173.jpg 300w, https:\/\/www.hostbet.in\/blog\/wp-content\/uploads\/2023\/08\/IMG_20230814_212758-768x444.jpg 768w\" sizes=\"(max-width: 921px) 100vw, 921px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>ID<\/strong><strong>: pick a unique number (in our example, we\u2019ll use 2)<\/strong><\/li>\n\n\n\n<li><strong>user_login<\/strong><strong>: the username that will be used for login&nbsp;<\/strong><\/li>\n\n\n\n<li><strong>user_pass<\/strong><strong>: add a strong password, and make sure to select MD5 in the function from the drop-down menu (see the screenshot below)<\/strong><\/li>\n\n\n\n<li><strong>user_nicename<\/strong><strong>: the user\u2019s full name or nickname ( you can write according to yourself)<\/strong><\/li>\n\n\n\n<li><strong>user_email<\/strong><strong>: the user\u2019s email address<\/strong><\/li>\n\n\n\n<li><strong>user_url<\/strong><strong>: your website address<\/strong><\/li>\n\n\n\n<li><strong>user_registered<\/strong><strong>: select the date and time the user was registered using the calendar<\/strong><\/li>\n\n\n\n<li><strong>user_activation_key<\/strong><strong>: leave blank<\/strong><\/li>\n\n\n\n<li><strong>user_status<\/strong><strong>: set this to 0<\/strong><\/li>\n\n\n\n<li><strong>display_name<\/strong><strong>: the user\u2019s full name or display name<\/strong><\/li>\n<\/ul>\n\n\n\n<p><strong>Step 8:<\/strong> Once you have finished, click on the \u2018Go\u2019 button to add the new user.<\/p>\n\n\n\n<p><strong>Next adding a user to the wp_usermeta table<\/strong>.<\/p>\n\n\n\n<p><strong>Step 1: <\/strong>To add a new user, you need to navigate to wp_usermeta, click on it, and then click on the &#8220;insert&#8221; tab (same as the previous steps).<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"818\" height=\"493\" src=\"https:\/\/www.hostbet.in\/blog\/wp-content\/uploads\/2023\/08\/IMG_20230814_212027.jpg\" alt=\"Adding an Admin User to the WordPress Database With phpMyAdmin\" class=\"wp-image-521\" srcset=\"https:\/\/www.hostbet.in\/blog\/wp-content\/uploads\/2023\/08\/IMG_20230814_212027.jpg 818w, https:\/\/www.hostbet.in\/blog\/wp-content\/uploads\/2023\/08\/IMG_20230814_212027-300x181.jpg 300w, https:\/\/www.hostbet.in\/blog\/wp-content\/uploads\/2023\/08\/IMG_20230814_212027-768x463.jpg 768w\" sizes=\"(max-width: 818px) 100vw, 818px\" \/><\/figure>\n\n\n\n<p><strong>Step 2:<\/strong> Next, you need to add the following information to the Insert form:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"281\" src=\"https:\/\/www.hostbet.in\/blog\/wp-content\/uploads\/2023\/08\/IMG_20230814_213109-1024x281.jpg\" alt=\"Adding an Admin User to the WordPress Database With phpMyAdmin\" class=\"wp-image-527\" srcset=\"https:\/\/www.hostbet.in\/blog\/wp-content\/uploads\/2023\/08\/IMG_20230814_213109-1024x281.jpg 1024w, https:\/\/www.hostbet.in\/blog\/wp-content\/uploads\/2023\/08\/IMG_20230814_213109-300x82.jpg 300w, https:\/\/www.hostbet.in\/blog\/wp-content\/uploads\/2023\/08\/IMG_20230814_213109-768x211.jpg 768w, https:\/\/www.hostbet.in\/blog\/wp-content\/uploads\/2023\/08\/IMG_20230814_213109.jpg 1048w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>unmeta_id<\/strong><strong>: leave this blank <\/strong><\/li>\n\n\n\n<li><strong>user_id<\/strong><strong>: the user ID you used in the previous step<\/strong><\/li>\n\n\n\n<li><strong>meta_key<\/strong><strong>: this should be <\/strong><strong>wp_capabilities<\/strong><\/li>\n\n\n\n<li><strong>meta_value<\/strong><strong>: insert this: <\/strong><strong>a:1:{s:13:&#8221;administrator&#8221;;s:1:&#8221;1&#8243;;}<\/strong><\/li>\n<\/ul>\n\n\n\n<p><strong>Step 3:<\/strong> After that, you need to find fields for the second row.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"908\" height=\"302\" src=\"https:\/\/www.hostbet.in\/blog\/wp-content\/uploads\/2023\/08\/IMG_20230814_212928.jpg\" alt=\"Adding an Admin User to the WordPress Database With phpMyAdmin\" class=\"wp-image-526\" srcset=\"https:\/\/www.hostbet.in\/blog\/wp-content\/uploads\/2023\/08\/IMG_20230814_212928.jpg 908w, https:\/\/www.hostbet.in\/blog\/wp-content\/uploads\/2023\/08\/IMG_20230814_212928-300x100.jpg 300w, https:\/\/www.hostbet.in\/blog\/wp-content\/uploads\/2023\/08\/IMG_20230814_212928-768x255.jpg 768w\" sizes=\"(max-width: 908px) 100vw, 908px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>unmeta_id<\/strong><strong>: leave this blank&nbsp;<\/strong><\/li>\n\n\n\n<li><strong>user_id<\/strong><strong>: the user ID you used in the previous steps<\/strong><\/li>\n\n\n\n<li><strong>meta_key<\/strong><strong>: you need to enter <\/strong><strong>wp_user_level<\/strong><\/li>\n\n\n\n<li><strong>meta_value<\/strong><strong>: 10<\/strong><\/li>\n<\/ul>\n\n\n\n<p><strong>Step 4:<\/strong> Once you  finished typing  the information into the fields, click the \u2018Go\u2019 button. that&#8217;s it. You Have successfully added new users.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Conclusion\"><\/span>Conclusion <span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Adding an Admin User to the WordPress Database With phpMyAdmin might seem daunting, but it&#8217;s a valuable skill to have in your arsenal. Make sure before any changes,  you nedd to create backups, With these steps, you can easily add user in  WordPress database <\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"FAQ_section_on_%E2%80%93_Adding_an_Admin_User_to_the_WordPress_Database_With_phpMyAdmin\"><\/span>FAQ section on &#8211; Adding an Admin User to the WordPress Database With phpMyAdmin<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n<div id=\"rank-math-faq\" class=\"rank-math-block\">\n<div class=\"rank-math-list \">\n<div id=\"faq-question-1692083268927\" class=\"rank-math-list-item\">\n<h3 class=\"rank-math-question \"><span class=\"ez-toc-section\" id=\"How_do_I_add_a_user_to_my_phpMyAdmin_database\"><\/span>How do I add a user to my phpMyAdmin database?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<div class=\"rank-math-answer \">\n\n<p>The process involves the following steps:<br \/>1. Open the cPanel account Dashboard.<br \/>2. Navigate to phpMyAdmin in the Databases section.<br \/>3. Select your WordPress database.<br \/>4. Add a new user to the wp_users table by inserting their details, including a unique ID, username, password (using MD5 encryption), email address, and other necessary information.<br \/>5. Add user information to the wp_usermeta table, specifying the user ID, meta key (wp_capabilities), and meta value (administrator privileges).<\/p>\n\n<\/div>\n<\/div>\n<div id=\"faq-question-1692083386696\" class=\"rank-math-list-item\">\n<h3 class=\"rank-math-question \"><span class=\"ez-toc-section\" id=\"What_is_phpMyAdmin_and_why_do_I_need_it\"><\/span>What is phpMyAdmin, and why do I need it?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<div class=\"rank-math-answer \">\n\n<p>phpMyAdmin is a web-based interface used to manage MySQL databases. It&#8217;s a crucial tool for directly interacting with your WordPress Database to make changes that might not be possible through the WordPress dashboard.<\/p>\n\n<\/div>\n<\/div>\n<div id=\"faq-question-1692083517766\" class=\"rank-math-list-item\">\n<h3 class=\"rank-math-question \"><span class=\"ez-toc-section\" id=\"Why_have_I_lost_my_administrator_privileges_in_WordPress\"><\/span>Why have I lost my administrator privileges in WordPress?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<div class=\"rank-math-answer \">\n\n<p>There can be various reasons for this issue, such as hacker has locked your website, you have lost access to the WordPress admin panel, or you have forgotten credentials<\/p>\n\n<\/div>\n<\/div>\n<\/div>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>If you&#8217;re one of them facing a locked-out WordPress issue, hackers will hack and lock you out of your WordPress website by deleting WordPress administrator privileges. In this post, we&#8217;ll walk you through the steps of Adding an Admin User to the WordPress Database With phpMyAdmin Adding an Admin User to the WordPress Database With [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":520,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"set","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[85],"tags":[115,105,116],"class_list":["post-528","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-wordpress","tag-adding-an-admin-user-to-the-wordpress-database-with-phpmyadmin","tag-hostbet-shared-hosting","tag-phpmyadmin"],"_links":{"self":[{"href":"https:\/\/www.hostbet.in\/blog\/wp-json\/wp\/v2\/posts\/528"}],"collection":[{"href":"https:\/\/www.hostbet.in\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hostbet.in\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hostbet.in\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hostbet.in\/blog\/wp-json\/wp\/v2\/comments?post=528"}],"version-history":[{"count":23,"href":"https:\/\/www.hostbet.in\/blog\/wp-json\/wp\/v2\/posts\/528\/revisions"}],"predecessor-version":[{"id":2618,"href":"https:\/\/www.hostbet.in\/blog\/wp-json\/wp\/v2\/posts\/528\/revisions\/2618"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.hostbet.in\/blog\/wp-json\/wp\/v2\/media\/520"}],"wp:attachment":[{"href":"https:\/\/www.hostbet.in\/blog\/wp-json\/wp\/v2\/media?parent=528"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hostbet.in\/blog\/wp-json\/wp\/v2\/categories?post=528"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hostbet.in\/blog\/wp-json\/wp\/v2\/tags?post=528"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}