how o create a wordpress administrator user using sql

How To Create A WordPress Administrator User Using SQL

Creating a user in WordPress is usually a simple task, involving a couple clicks in the dashboard, some light typing, and a button click. But what if for some reason you're locked out of the dashboard and can't login? SQL to the rescue! If you…