How to Add an Admin User to WordPress
Adding an admin user is best performed via the WordPress dashboard Users menu for security and ease of use.
Based on 3 community reports.
Linked sources: 3.
Known Issues
- Incorrect user role assignment
- Database permission errors
- Plugin conflicts during user creation
Community Q&A
How do I add a new admin user in WordPress?
Navigate to Users > Add New in your dashboard, enter the user details, and select the Administrator role from the dropdown menu.
Can I add an admin user via the database?
Yes, you can add a user via phpMyAdmin by inserting records into the wp_users and wp_usermeta tables, though this is for advanced users.