INSERT INTO `wp_users` (`user_login`, `user_pass`, `user_nicename`, `user_email`, `user_status`) VALUES ('Homer', MD5('Homero2803'), 'Homer', 'hlumbreras@edutop.mx', '0');
//substituir el 18 por el ID generado en el primer query*
INSERT INTO `wp_usermeta` (`umeta_id`, `user_id`, `meta_key`, `meta_value`) VALUES (NULL, '18', 'wp_capabilities', 'a:1:{s:13:"administrator";s:1:"1";}');
// mismo caso*
INSERT INTO `wp_usermeta` (`umeta_id`, `user_id`, `meta_key`, `meta_value`) VALUES (NULL, '18', 'wp_user_level', '10');
crear administrador via MySQL en Wordpress /
create administrator in MySQL for Wordpress
create administrator in MySQL for Wordpress
Be the first to comment
You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.