Last active
December 5, 2018 15:42
-
-
Save andrekeher/01758ab5ff9be55e81c99e18fdf82f08 to your computer and use it in GitHub Desktop.
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
INSERT INTO wp_users (user_login, user_pass, user_nicename, user_email, user_registered, display_name) | |
VALUES ('USER', MD5('PASS'), 'USER', '[email protected]', NOW(), 'USER'); | |
INSERT INTO wp_usermeta (user_id, meta_key, meta_value) | |
VALUES ((SELECT MAX(id) FROM wp_users), 'wp_capabilities', 'a:1:{s:13:"administrator";b:1;}'); | |
INSERT INTO wp_usermeta (user_id, meta_key, meta_value) | |
VALUES ((SELECT MAX(id) FROM wp_users), 'wp_user_level', '10'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment