- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2018
09:29 AM
01-18-2018
09:29 AM
Help ! No Admin after reinstalling Magento
Hey
i just reinstalled Magento , just fixed the typical errors. But now I have a new problem: on my local server i only had one Admin whose data is still in the local.xml file , but I cant log in and when I look for the admin_user in the php myadmin , there is nothing in there . What shall I do ? I cant access the backend like this ...
Thank you for your help !
Greetings from germany
i just reinstalled Magento , just fixed the typical errors. But now I have a new problem: on my local server i only had one Admin whose data is still in the local.xml file , but I cant log in and when I look for the admin_user in the php myadmin , there is nothing in there . What shall I do ? I cant access the backend like this ...
Thank you for your help !
Greetings from germany
Labels:
4 REPLIES 4
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-19-2018
01:07 AM
01-19-2018
01:07 AM
Re: Help ! No Admin after reinstalling Magento
One easy way of doing it would be with the magerun tool. If you download and install this following the installation section of the readme, one of the commands it provides is the ability to create an admin user from command line.
$ n98-magerun.phar admin:user:create [username] [email] [password] [firstname] [lastname] [role]
----
If you've found one of my answers useful, please give "Kudos" or "Accept as Solution" as appropriate. Thanks!
If you've found one of my answers useful, please give "Kudos" or "Accept as Solution" as appropriate. Thanks!
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-19-2018
04:54 AM
01-19-2018
04:54 AM
Re: Help ! No Admin after reinstalling Magento
Thank you so much !
I will try that right now
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-19-2018
05:03 AM
01-19-2018
05:03 AM
Re: Help ! No Admin after reinstalling Magento
Do you know if I can also do it via the phpmyamdin page ?
Maybe with SQL ?
Because I dont know how to install Magerun correctly
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-19-2018
06:40 AM
01-19-2018
06:40 AM
Re: Help ! No Admin after reinstalling Magento
HI @JonasR_Admin99,
For Mysql scripts you can check these links:
- https://gist.github.com/tridungpham/7785460
- https://jamersan.com/create-new-magento-admin-user-via-mysql/
- https://www.activo.com/add-magento-admin-user-using-mysql-script/