简体   繁体   English

忘记了来自OpenCart 2.x管理员的密码链接

[英]Forgot Password Link From OpenCart 2.x Admin Not Working

I am using OpenCart 2.x version. 我正在使用OpenCart 2.x版本。 How do I reset the Admin password from the UI and not from the database? 如何从用户界面而不是从数据库重置管理员密码? I found some solutions using the database User table but I don't want to do like that. 我使用数据库用户表找到了一些解决方案,但我不想那样做。

Actually, this is not working from installation, so can someone tell me if OpenCart has not provided the forgot password functionality for Admin? 实际上,这在安装时不起作用,因此有人可以告诉我OpenCart是否未提供Admin的忘记密码功能吗?

Was looking for this as well since I just installed the application 2 hours ago, I somehow goofed on writing down the password. 自从2个小时前我刚刚安装了该应用程序以来,我一直在寻找该密码,所以我不知所措地记下了密码。 Anyhow I found the solution from this site " http://www.speckygeek.com " 无论如何,我从此站点“ http://www.speckygeek.com ”找到了解决方案

Basically you need to do the following few steps and need to know some SQL and the database as this solution is command line for the MySQL system. 基本上,您需要执行以下几个步骤,并且需要了解一些SQL和数据库,因为此解决方案是MySQL系统的命令行。

  1. List item 项目清单
  2. Login to your database server 登录到数据库服务器
  3. Connect to your database 连接到您的数据库
  4. Locate your Admin account entry and remember it's "id" 找到您的管理员帐户条目,并记住它是“ id”
  5. Type the following command and hit enter 输入以下命令,然后按Enter

    UPDATE oc_user SET password='d1c194daffb03fc2653027c87f76a12a4eaeac5f', salt='x3x6r693j'; 更新oc_user SET密码='d1c194daffb03fc2653027c87f76a12a4eaeac5f',salt ='x3x6r693j';

Congratulations: Your admin password is now set to password 恭喜:您的管理员密码现已设置为password

Try it out and then CHANGE it in your OpenCart Admin page and don't forget it. 试用它,然后在您的OpenCart Admin页面中进行更改,不要忘记它。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM