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`;
App usage is growing steadily without showing any signs of slowing down. Hence, it is no surprise that mobile applications…
As the world has grown more digital, businesses have adapted themselves. An effectual adaptation includes online advertising. Offline advertising styles…
Step into a world where apps dance to the user's tune. Picture Instagram, a photo-sharing sensation that swept the globe.…
COVID-19 has led to a digitalization of lifestyle. As patients are taking their mental and physical health more seriously, healthcare…
Introduction WordPress, an immensely popular content management system (CMS), powers over 40% of the internet. What makes WordPress even more…
For moving companies trying to capture their market share amidst stiff competition, a tip or two about what they can…