Created
February 15, 2014 17:20
-
-
Save wpsmith/9022221 to your computer and use it in GitHub Desktop.
SQL: Change Default Administrator Name
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
UPDATE wp_users SET user_login = 'NewName' WHERE user_login = 'Admin'; | |
UPDATE myprefix_users SET user_login = 'NewName' WHERE user_login = 'Admin'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For more information, see the tutorial here: http://wpsmith.net/2014/snippets/popular-wordpress-sql-user-administration-scripts/