I wanted to make a few edits to some blog drafts but lacked sufficient permissions.
I'm no WordPress expert and our IT staff had left for the day.
Here's a quick way to get WP admin privileges if you have a root password for the relevant server:
- Retrieve the WordPress mysql admin username and password from wp-config.php.
(This file is at the WordPress base directory.)
- In mysql, look in wordpress.wp_users to find your userid.
- Update your wp_level to 10.
Shazam -- you're good to go. Happy edits.