Unable to Delete Wordpress Admin account from wp_users or Users Page on Dashboard

I am in a fix here. I am trying to delete one of the admin accounts I created for a temporary use

It just doesn't get deleted at all

I have tried deleting through the following methods:

  1. Main users page in the dashboard

  2. wp_users page in Cpanel (Phpmyadmin)

  3. Tried to delete all fake users in metadata in Cpanel (Phpmyadmin)

After deleting through methods, the page displays deleted successfully but the deleted admin account reappears after either logout/login or refreshing the page.

I have also tried changing the role of this said admin account and the same happens after saving the changes and refreshing the page it goes back to being the admin

I am the primary admin of the website

I am looking for a way to delete it through the PHPMyAdmin of my Cpanel or any other possible solution

Note: The email for this admin account also isn't the primary email for my WordPress site.

Solutions

You can delete that users record from wp_users table from direct Cpanel (Phpmyadmin)

Similar questions

Query to Get All Users from wp_users With NO matching user_id In wp_usermeta
I'm currently trying to get all users from wp_users that have no matching ID entry in wp_usermeta (matching on user_id). I have a site with a very large user base that currently has thousands of spam users. The following query is returning no records: I've already removed the bad records from the meta table which is why I need to query to find only...
Hide users with a specific role from users list on WordPress admin dashboard
I have two roles called Agent and Subagent. I want to hide these two specific roles from the admin user list. I tried using the pre_user_query filter but couldn't get it to work. Could anyone please suggest a correct way to do it? Thanks,
How to allow users to delete their account in frontend
I am developing account page. And almost done except Deleting user Account. I want users to delete their account in frontend. This is my code of the account-delete.php. but it doesn't work. I don't know why. Maybe, this is doesn't work. Can you help me?
Allow "shop manager" to delete users account
I want to know what part of code should I edit to allow the shop manager in a wordpress website to delete any users account? Thank you in advance.
Display orders instead of woocommerce my account dashboard for logged in users
There are /login /register /lost-password /reset-password pages with content: [woocommerce_my_account]. After successful registration or login, the user is redirected thanks to: Dashboard menu item is hidden thanks to the below code: But if site_url/login and other above urls are accessed by a logged in users, my account dashboard is still displaye...
What is the difference between a wordpress.com account and a wp-admin account?
When I want to log into my blog as an admin, I need to go into mydomain.com/wp-admin and then log in with my user details. Once logged in I can use the Wordpress.com functionalities and dashboard as any other Wordpress.com user would do. However, when I want to sign into wordpress.com using the same details as for mydomain.com/wp-admin, I get a mes...

Also ask

We use cookies to deliver the best possible experience on our website. By continuing to use this site, accepting or closing this box, you consent to our use of cookies. To learn more, visit our privacy policy .