light
light
dark
dark
  • Home
  • Services
    • Website Designing
      • Responsive Website Design
      • Static Website Design
      • Website Redesign
      • Landing Page Design
    • Website Development
      • PHP Website Development
      • WordPress Website Development
      • Ecommerce Website Development
      • Custom Website Development
    • Digital Marketing
      • Google Adwords/PPC
      • Facebook Promotion
    • SEO Service
  • Trainings
    • Learn Web Development
    • Learn Graphics Design
    • Learn Business Communication Skills
  • Pricing
  • Portfolio
  • Events
  • Offers
  • Contact Us

How to Add an Admin User to the WordPress Database from phpMyAdmin?

HomeHow to Add an Admin User to the WordPress Database from phpMyAdmin?

Offer Expire Soon..


Only New User..


Steps to add an Admin user to the WordPress database from phpMyAdmin:

  • Log in toย cPanel.
  • Navigate to theย Databasesย section and click onย phpMyAdmin.
  • Choose yourย database. It might be possible that you have multiple databases in your phpMyadmin.

So to find the appropriate database name just follow these steps:

  • On theย cPanelย dashboard, click onย File Manager.
  • Go to theย public_htmlย folder and click onย wp.
  • On the right side, you will get files and folders in that, right-click on theย wp-config.phpย file and click on theย viewย option.
  • In this section, you will see theย database name.
  • Now, go back toย phpMyAdminย and click on theย databasename_usersย table. In our case, the database table name is this.
  • Click onย Insert.
  • Fill the required information in the mentioned fields.
  • In theย user_passย dropdown, selectย MD5.
  • Click onย Go.
  • Click on theย databasename_usersย table.
  • As you can see the recently added record withย ID. In the next step, we will use thisย idย in theย user_idย field.
  • Select theย databasename_usermetaย table and click onย Insert.
  • Enter the id of the user which we have created in the previous query.
  • In theย meta_keyย textbox, enter theย databasename_capabilities. In our case,ย meta_keyย is this.
  • In theย meta_valueย textbox add this code:ย a:1:{s:13:โ€administratorโ€;s:1:โ€1โ€ณ;}
  • Again in this section, enter theย user_id.
  • In theย meta_keyย textbox, enter theย databasename_user_level. In our case,ย meta_keyย is this.
  • In theย meta_valueย textbox, enter the value asย 10.
  • Click onย Go.

Now, follow the steps to check the newly added admin user in WordPress:

  • Log in toย WordPressย with a newly createdย username and password.
  • Click onย Users.
  • As you can see the newly createdย usernameย withย Administratorย role.

Thatโ€™s how you can add an admin user to the WordPress Database from phpMyAdmin.

Faizan Khan
32
Content Management System (CMS), Latest News, WordPress
Prev PostHow to Edit the Profile in WordPress?May 11, 2024
Next PostHow to Install WordPress Locally on Windows?May 11, 2024

Related items

dashboard
Latest News

Free Studio Management Software for Photographers & Videographers

Are You a Photographer Drowning in Paperwork? Hereโ€™s How to Fix It.   If you’re a pho

SoftMaji InfoTech
15/10/2025
31
Android Developer KYC
Latest News

Google’s New Android Developer Verification: What You MUST Do

Big News for All Android Developers! If you create apps for the Google Play Store, you nee

SoftMaji InfoTech
24/09/2025
40
gemini-on-break
Latest News

Gemini is Currently on a Break โ€“ What Does This Mean?

If you are searching โ€œGemini is currently on a breakโ€, you are not alone. Many people arou

SoftMaji InfoTech
04/09/2025
37
softmaji-header-wbg-min
SoftMaji is one of the affordable web development company in the web development industry. You donโ€™t have to go searching anywhere for finding a reliable web development partner because we have crafted web development solutions that can fill the void left by others in the market.
Services
  • News Portal Development
  • Custom Website Development
  • PHP Website Development
  • Ecommerce Website Development
  • WordPress Website Development
Shortlinks
  • Blog
  • Offers
  • Events
  • Pricing
  • Reviews
  • Portfolio
  • Our Team
  • Payment Options
  • Explore Packages
Company
  • FAQ
  • Careers
  • Sitemap
  • Feedback
  • About Us
  • Contact Us
  • Privacy Policy
  • Terms & Conditions
  • Refund And Cancellation
Contact Us
4/40 Vipul Khand , Gomti Nagar Lucknow
Uttar Pradesh 226010
Landline - +915223162418
Email - hello@softmaji.in
Office Time Mon - Sat
(10:00AM - 5:00PM)
Sunday Close
+91 9795405324
Lucknow , Uttar Pradesh
Copyright ยฉ 2016-2025. All Rights Reserved.