Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Add admin powers to account in mysql?


Sam Bauers
Participant

@sambauers

If admin’s user_id is not 1, then adjust that value. Also your table may be called “wp_usermeta”:

INSERT INTO bb_usermeta VALUES (meta_value = 'a:1:{s:9:"keymaster";b:1;}', meta_key = 'bb_capabilities', user_id = 1);

Skip to toolbar