How to create an Administrator user via MySQL – WordPress

Have you ever needed to create a new user in WordPress through MySQL?

It's more common than you thing. A new client comes in and he already has a WordPress site. You want to create your account and you just don't want to bother him asking for his user and password.

Here's the three queries that will create a new user with Administrator role.

Username: demo
Password: demo

Customize it with your name or email to fit your needs šŸ˜‰

Leave a Reply

Add <code> Some Code </code> by using this tags.