How to create a WordPress admin user with Linux/MySQL commands
1. Locate the wp-config.php file and extract database name WP keeps the MySQL connection details in the wp-config.php file. We want to extract the DB_NAME and table_prefix values that will help us in inserting the new user into the database..…