How to import and export admin users on Magento 2?

twitter logo github logo ・1 min read

Your admin users data are on the tables admin_user and admin_passwords in your Magento 2 database, you can use these commands to export and then import in your second store:


$ mysqldump -p --user=username dbname admin_user admin_passwords > myAdminUsers.sql


$ mysql -u username -p -D dbname < myAdminUsers.sql


If you use a database prefix, don't forget to use on these commands above.

twitter logo DISCUSS
Classic DEV Post from May 11

Getting Trapped as an Expert Beginner

Rafael Corrêa Gomes profile image has dark mode.

Go to the "misc" section of your settings and select night theme ❤️