Trevor Local
asked on
Wordpress - create new admin user via phpmyadmin
Hi
Two parts:
How can I tell which WP user is an administrator via phpmyadmin?
I need to create a new admin user via phpmyadmin. The few sites I found that list the steps and the query seem to have problems with the code (as I read the comments on those pages). And I've not done a query before.
I've taken a backup of the database, and this site is on WordPress 3.8.5
thx
Two parts:
How can I tell which WP user is an administrator via phpmyadmin?
I need to create a new admin user via phpmyadmin. The few sites I found that list the steps and the query seem to have problems with the code (as I read the comments on those pages). And I've not done a query before.
I've taken a backup of the database, and this site is on WordPress 3.8.5
thx
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
If you are using PHPmyadmin then you are inserting into the user ID, key, and value columns. Wp_capabilities is the actual text you are inserting.
The user ID is the user ID. The key is wp_capabilities, the value is that string from my original post.
Then repeat with user ID, wp_user_level, and 10
The user ID is the user ID. The key is wp_capabilities, the value is that string from my original post.
Then repeat with user ID, wp_user_level, and 10
ASKER
That was it....thanks again. Worked like a charm.
ASKER
thanks!
ASKER
I inserted the new row in wp_users, now trying to insert rows into wp_usermeta. I don't see an option or where to insert the wp_capabilities key or wp_user_level.