Jump to content

[Solved] Accidently delete Admin account


Recommended Posts

Hey SonnyCooL,

Log into your contorl panel and make your way to your database, once there run the below SQL query (be sure to update the info to match yours):


INSERT INTO `ps_employee` (`id_employee`, `id_profile`, `lastname`, `firstname`, `email`, `passwd`, `last_passwd_gen`, `stats_date_from`, `stats_date_to`, `active`) VALUES
(1, 1, 'lastname', 'firstname', 'YOUR_EMAIL', '123', '2009-08-23 12:16:00', '2009-01-01', '2009-12-31', 1);



Now go to your admin log in and click the "forgot" password link and reset the password. :-)

Link to comment
Share on other sites

×
×
  • Create New...