- Newest
- Most votes
- Most comments
Hello,
Wordpress is a third party application so I will provide the below on a best effort basis. You can certainly followup with Wordpress community support if needed as well and I will try to followup on further questions as possible.
One workaround to changing the username itself would be to create a separate administrator user and delete your original user to use the new admin instead.
Otherwise, Bitnami provides the following guide to access phpMyAdmin which can be used in tandem with the below link (third-party) in order to change your username directly (change user_name instead of user_password).
How to reset a WordPress a Wordpress username/password
Backups of your current site state before proceeding with any such changes is strongly advised!
You can connect to the DB and:
UPDATE wp_users SET user_login='newusername' WHERE ID=1;
You ALSO need to update the wp_sitemeta table ... which is a little more tricky ... ... if it's a fresh install and you're the only super admin, you can do:
UPDATE wp_sitemeta SET meta_value='a:1:{i:0;s:11:"newusername";} ' WHERE meta_key='site_admins';
... where the s:11
bit matches the number of characters in your newusername
Relevant content
- asked 3 years ago
- AWS OFFICIALUpdated 9 months ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 10 months ago