Magento 2 – Can’t Login into Admin on XAMPP admin-loginmagento2xampp I cannot login to Magento 2 admin due to the fact it is installed on 127.0.0.1:8080. This is an imported site and not a fresh install. I have changed cookie domains to reflect the correct paths but still no admin access. Anyone have any ideas? Best Answer Try creating a new user: bin/magento admin:user:create --admin-user="testing" --admin-password="123123q" --admin-email="testing@example.com" --admin-firstname="Test" --admin-lastname="Test" When you get the error: No Administrators role was found, data fixture needs to be run Follow this link for more info: https://www.maxpronko.com/blog/how-to-create-admin-user-in-magento-2-via-command-line As a quick fix: You need to delete value from this table core_config_data: web/cookie/cookie_domain web/cookie/cookie_httponly web/cookie/cookie_lifetime web/cookie/cookie_path Related SolutionsMagento2 Login – Cannot Access Magento 2.0 Admin Panel Please enable the rewrite_module from apache module and clear the cache. Hope it will solve your problem Magento 2 WAMP Installation – Can’t Login to Admin Hope this will help you you can try this: php bin\magento setup:static-content:deploy in your CLI. clear cache and try again. Related TopicMagento – Magento 2.3 : I can’t login to admin after making changes to Admin Base URL
Best Answer
Try creating a new user:
When you get the error:
Follow this link for more info: https://www.maxpronko.com/blog/how-to-create-admin-user-in-magento-2-via-command-line
As a quick fix:
You need to delete value from this table
core_config_data
: