Last active
February 20, 2019 15:22
-
-
Save seuntaylor/bed2639d8b49584dd9c1d3338175955b to your computer and use it in GitHub Desktop.
Create a WordPress Administrator account directly from the
This file contains hidden or 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
| INSERT INTO `a80vm_users` (`ID`, `user_login`, `user_pass`, `user_nicename`, `user_email`, `user_status`) | |
| VALUES ('85485', 'QuietAdmin', MD5('C[u0(RsH8!3Xlkp0{lP#'), 'Quiet Administrator', 'my@email.co', '0'); | |
| INSERT INTO `a80vm_usermeta` (`umeta_id`, `user_id`, `meta_key`, `meta_value`) | |
| VALUES (NULL, '85485', 'a80vm_capabilities', 'a:1:{s:13:"administrator";s:1:"1";}'); | |
| INSERT INTO `a80vm_usermeta` (`umeta_id`, `user_id`, `meta_key`, `meta_value`) | |
| VALUES (NULL, '85485', 'a80vm_user_level', '10'); |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Make sure you change the values in the second like to what you would want -
QuietAdmin,C[u0(RsH8!3Xlkp0{lP#,Quiet Administratorandmy@email.co. You can also change theuser_idvalue to something else (an integer please!)