Русские видео

Сейчас в тренде

Иностранные видео




Если кнопки скачивания не загрузились НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если возникают проблемы со скачиванием, пожалуйста напишите в поддержку по адресу внизу страницы.
Спасибо за использование сервиса savevideohd.ru



How to reset the administrator password in Magento 2

► Fanpage:   / giaphugroupcom   ► Subscribe to my channel: https://www.youtube.com/giaphugroupco... ► Skype: cuongnq87 ► The website link: https://www.giaphugroup.com/magento-2... Hi everybody, I am Cuong, Welcome back to my Magento 2 tutorial video series. #magento2tutorial Today I am going to show everybody a best practice, How to reset the administrator password in Magento 2. Before doing this practice, you need to know the table name saving the administrator accounts in your database. Magento 2 created the table named admin_user for saving the administrator accounts so you can see it in your database. There are two accounts found, this is the password value after it is encoded by Magento 2. You cannot decode it for getting the correct password. Normally if you forget your password, you can use the Magento password recovery feature to reset the password by your email. However, if this option is unavailable (for example, if your server cannot send an email), you can manually reset the admin password in the database. There are two simple ways to reset the admin password in Magento 2: Method #1: Reset by email Go to the Magento Admin login page. Click the Forgot your password? This way only can be applied when your server can send an email. In this practice, I skip this method. Method #2: Reset directly in the database This way often is used when you want to reset the password of an administrator, that you don't want the system to send an email to their email, they cannot know you have accessed into the backend with their account. Before updating the new password for an administrator, you should back up the value of the previous password. It will be used to revert after you logged in success. In this practice, I will change the password for the username cuongnq, so I will back up the password value for this user 9bcc3c185d53a2b0f4a434c6533e7487fd1a9ddd26b4f5ca4b43ff97d4e2e375:123456:1 To do this, follow these steps: 1. Log into your database, in this practice I use the phpMyAdmin 2. In the left-hand pane of phpMyAdmin, click the Magento your database. A list of tables in this database appears. 3. On the top menu bar, click SQL. 4. Copy and paste the following statement into the SQL query text box. Replace NewPassword with the new password, and replace both occurrences of xxxxxxxx with any random character sequence: UPDATE admin_user SET admin_user.password = CONCAT(SHA2('xxxxxxxxNewPassword', 256), ':xxxxxxxx:1') WHERE admin_user.username = 'cuongnq'; This command assumes that you want to change the password for the cuongnq user account. To change the password for another account, change the username field to the correct value. 5. Click Go. phpMyAdmin updates the database, and you can log in to Magento as the administrator using the new password. Try to log into the backend with the new password. Great, it works perfectly. For now, I will try to log out and log in with another password. I will update the new password and try to log in with the old password The old password has been changed. Thank you for your watching. If you have any questions about this practice please feel free to leave a comment below. Don't forget to like, comment, share and subscribe to my channel for getting the latest videos. Please do not hesitate to contact me if you need me to join your Magento project. My rate is $25/hour in Magento 1 and $30/hour in Magento 2.

Comments