1

I have an user in a Wordpress Multisite installation and have access to the Mysql database, I would like to give myself super-admin rights to access the wp-admin/network page. Where can I do it on Mysql?

I looked the database and I think the wp_usersmeta table is the one, but I have no idea how Wordpress manages the roles within the database.

Any help?

3

This is actually stored in the {prefix}sitemeta table. The meta key is site_admins, and it's a serialized PHP array of usernames.

1
  • Thanks! I added my username to that array and it worked.
    – romulodl
    Jan 26 '12 at 15:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.