Usernames and passwords are easily forgotten especially when you can’t recall your email to reset with.
WordPress doesn’t allow username change from the dashboard. We change the username from the database. We use phpMyAdmin to change the username manually in the WordPress MySQL database.
Log in to cPanel.
In the Databases section of the cPanel home screen, click phpMyAdmin.
In the left-hand pane of phpMyAdmin, click the WordPress database. A list of tables in the database appears.
Click the wp_users table.
In the user_login column, locate the username that you want to change.
Double-click the username, type the new username, and then press Enter.
Log in to WordPress using the new username. (Your password remains unchanged.)
Under Dashboard, click Users, and then click Your Profile.
Under Name, update the First Name, Last Name, Nickname, and Display name publicly as options for the account.
Click Update Profile.