[{"data":1,"prerenderedAt":11},["ShallowReactive",2],{"$f63112ddfa1m7":3},{"slug":4,"title":5,"description":6,"published":7,"updated":8,"thumb":9,"html":10},"how-to-create-a-wordpress-user-through-an-sql-query-from-phpmyadmin-area-with-admin-right","How to Create a WordPress User Through An SQL Query From PhpMYAdmin Area With Admin Right","Are you looking to create a WordPress user using an SQL query from the PhpMyAdmin area? Here is the query that you need to execute with proper parameters...","2015-01-08","2016-06-17",null,"\u003Cp>Are you looking to create a WordPress user using an SQL query from the PhpMyAdmin area? Here is the query that you need to execute with proper parameters.\u003C\u002Fp>\n\u003Cp>You need to update a few things like ID (Don&#8217;t use an existing id), Username, password in raw text, email and user name as profile info. You also need to check for a few thing while creating a WordPress user from database (The table prefix). Once you have\u003C\u002Fp>\n\u003Cp>\u003Ccode>\u003Cbr \u002F>\nSET @id = 99;\u003Cbr \u002F>\nSET @user = 'username';\u003Cbr \u002F>\nSET @pass = 'password';\u003Cbr \u002F>\nSET @email = 'info@example.coom';\u003Cbr \u002F>\nSET @name = 'marshall';\u003C\u002Fp>\n\u003Cp>INSERT INTO  wp_users (ID, user_login, user_pass, user_nicename, user_email, user_url, user_registered, user_activation_key, user_status, display_name) VALUES (@id, @user, MD5(@pass), @name, @email, '', '2013-06-20 00:00:00', '', '0', @name);\u003Cbr \u002F>\nINSERT INTO  wp_usermeta (umeta_id, user_id, meta_key, meta_value) VALUES (NULL, @id, 'wp_capabilities', 'a:1:{s:13:\"administrator\";s:1:\"1\";}');\u003Cbr \u002F>\nINSERT INTO  wp_usermeta (umeta_id, user_id, meta_key, meta_value) VALUES (NULL, @id, 'wp_user_level', '10');\u003Cbr \u002F>\nINSERT INTO  wp_usermeta (umeta_id, user_id, meta_key, meta_value) VALUES (NULL, @id, 'active', '1');\u003Cbr \u002F>\n\u003C\u002Fcode>\u003C\u002Fp>",1793901039387]