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?