Add Magento Admin User Using MySQL Script
This script quickly adds a Magento Admin user directly into the database. It is possible to run this script from the command line or by copying and pasting into phpMyAdmin. Just make sure to edit the following fields with your personalized data and import. Most of these fields are trivial, I’m just listing them so you don’t miss anything.
- Set the salt portion of your password. You’ll rarely need to change this. If you do, just use two lower case letters of your choice.
- Set your password. At least 8 characters in length and at least one digit.
- Firstname: Enter admin’s first name.
- Lastname: Enter admin’s last name.
- Enter email of admin user.
- Enter username where ‘myuser’ is set. Notice ‘myuser’ shows up in two places.
- Enter Firstname again. This is more symbolic to label the rule.