Answer the question
In order to leave comments, you need to log in
How to add an administrator in WordPress through the bash console?
I connected to the database in the console, but I don’t understand how to add a user with administrator rights.
If I just enter the data in a new row in the table, will password encryption work there?
And what syntax to use when entering?
And what values to enter in wp_usermeta?
Can you please tell me who has done this?
Tried to just install phpMyAdmin on VDS but it doesn't work (
Answer the question
In order to leave comments, you need to log in
Try wp-cli.org
wp user create Bob [email protected] --role=administrator
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question