To create admin user from database in Magento you can do this by using the following script. With this code one can create magento admin user in the database and login to the Magento admin panel with right credentials.
Just copy paste this code in the database and then you will be able to login the Magento admin dashboard area respectively.
INSERT INTO `admin_user` ( `user_id`,`firstname`,`lastname`,`email`,`username`,`password`,`created`,`modified`,`logdate`,`lognum`,`reload_acl_flag`,`is_active`,`extra`,`rp_token`,`rp_token_created_at`) VALUES (NULL , 'admin', 'admin', 'admin@gmail.com', 'admin', MD5( '1q2w3e' ) , CURRENT_TIMESTAMP , NULL , NULL , '0', '0', '1', NULL , NULL , NULL ) INSERT INTO admin_role SELECT NULL `role_id`,0 `parent_id`,2 `tree_level`,0 `sort_order`,'U' `role_type`, (SELECT `user_id` FROM admin_user WHERE `username` = 'admin') `user_id`, 'Administrators' `role_name`;
When it comes to children, there’s one universal truth: the right toy can spark imagination, build skills, and make memories…
In today’s digital age, where screens and gadgets dominate our children’s lives, there’s something heartwarming about a well-loved plush toy…
In a world dominated by screens and fast-paced routines, it’s easy to forget the simple magic of a toy in…
In the heart of Delhi’s vibrant streets lies a world where imagination meets innovation — the magical universe of toys.…
When was the last time a toy truly amazed you—not just as a product, but as a thoughtful tool for…
In the digital age, the way we experience childhood has changed, but the essence remains the same—imagination, exploration, and joy.…