Ecshop admin password forgot what to do?

Source: Internet
Author: User

Ecshop admin password forgot what to do?

Ecshop Tutorial/Ecshop Tutorial Net (www.ecshop119.com) 2013-09-06

Accidentally in the background to empty the administrator, the site can not be logged? There is no way to ecshop this recovery administrator, good have a user to go to add the administrator?

In fact, the method is very simple to manually increase the phpMyAdmin.

Copy the following script, in the SQL query that paste in, query, note the following table name prefix Oh!

DROP TABLE IF EXISTS ' Ecs_admin_user ';  CREATE TABLE ' ecs_admin_user ' (' user_id ' smallint (5) unsigned not NULL auto_increment, ' user_name ' varchar ($) NOT NULL  Default ', ' email ' varchar (10) NOT null default ' ', ' password ' varchar (+) NOT null default ' ', ' ec_salt ' varchar ' Default NULL, ' Add_time ' int (one) not null default ' 0 ', ' last_login ' int (one) not null default ' 0 ', ' last_ip ' varchar (15 Not null default ' ', ' action_list ' text is not null, ' nav_list ' text is not null, ' lang_type ' varchar (a) NOT NULL default ', ' agency_id ' smallint (5) unsigned not NULL, ' suppliers_id ' smallint (5) unsigned default ' 0 ', ' todolist ' Longtext, ' role_id ' smallint (5) Default NULL, PRIMARY key (' user_id '), key ' user_name ' (' user_name '), key ' agency_id ' (' agency_id ') Engine=myisam DEFAULT charset=utf8;insert into ' ecs_admin_user ' (' user_id ', ' user_name ', ' email ', ' password ', ' Ec_sa Lt ', ' add_time ', ' last_login ', ' last_ip ', ' action_list ', ' nav_list ', ' lang_type ', ' agency_id ', ' suppliers_id ', ' todolist ', ' role_id ') VALUES (' 1 ', ' admin ', ' [email protected] ', ' 278bf04cc42c22617936b7f2bff914c3 ', ' 8025 ', ' 1 354886842 ', ' 1376936263 ', ' 123.156.121.67 ', ' All ', ' product list |goods.php?act=list, order list |order.php?act=list, user reviews |comment_ Manage.php?act=list, membership list |users.php?act=list, store settings |shop_config.php?act=list_edit, articles list |article.php?act=list, sitemap |  Sitemap.php ', ', ' 0 ', ' 0 ', ', ' 0 ');--END ecshop v2.x SQL Dump Program

Then the restored administrator user name is admin, password is admin123.

Ecshop admin password forgot what to do?

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.