2018年3月8日星期四
magento创建后台用户sql 1.9.2.4+
INSERT INTO `admin_role` VALUES (1,0,1,1,'G',0,'Administrators',1,NULL,NULL);
INSERT INTO admin_user SELECT
NULL user_id,
"fname" firstname,
"lname" lastname,
"demo@163.com" email,
"admin" username,
MD5('demodemo') password,
NOW() created,
NULL modified,
NULL logdate,
0 lognum,
0 reload_acl_flag,
1 is_active,
NULL extra,
NULL rp_token,
NOW() rp_token_created_at,
NULL failures_num,
NULL first_failure,
NULL lock_expires;
INSERT INTO admin_role SELECT
NULL role_id,
(
SELECT
role_id
FROM
admin_role
WHERE
role_name = 'Administrators'
) parent_id,
2 tree_level,
0 sort_order,
'U' role_type,
(
SELECT
user_id
FROM
admin_user
WHERE
username = 'admin'
) user_id,
'fname' role_name,
1 gws_is_all,
NULL gws_websites,
NULL gws_store_groups;
订阅:
博文评论 (Atom)
Also Read:
-
Vernee是由中国深圳新英国网络技术有限公司生产的手机品牌。 该品牌成立于2016年2月,标志着New Bund从OEM/ODM转移到公共市场的第一步。 Vernee手机使用Android操作系统。 该公司的定价政策使他们能够将中型硬件放在低端价格上,并附有Android OS...
-
Note: As of now, there are a number of languages that Google Assitant support and more are added rapidly. How To Change Google Assist...
-
网站 媒体 https://www.tapscape.com/contact-us/ https://www.purewow.com/entry_name/national/contact_us.htm http://www.softandapps.info/about/ ...
-
Meetsocial / Appcoach /Foxseek /Papaya 这四家, 飞书 木瓜是一代 appcoach更强的是app foxseek是?灵狐?
-
We all want to create the best content possible, but with more than a BILLION active websites and blogs on the internet today… it’s getti...
-
PanGu iOS 9.2 - 9.3.3 越狱工具 - pangu.io pangu iOS 9.3 jailbreak tool from pangu team Keywords: pangu, Pangu jailbreak, 盘古越狱, ios 7.1.2 j...
-
Content URL https://blog.barracuda.com/2017/07/19/data-recovery-in-the-age-of-ransomware/ https://www.youtube.com/watch?v=b_v7iMZhD40 htt...
-
http://reviews.thewindowsclub.com/easeus-data-recovery-wizard-review http://www.theallineed.com/technology/20170728/easeus-data-recovery-wi...
-
Today, we bring you a list of Android apps that can separate or extract audio from the video. Why would you want to do that? To create memes...
-
Over the years, many people are writing about link building strategies both good and bad. It’s no secret the Internet can make you a lot of...
没有评论:
发表评论
注意:只有此博客的成员才能发布评论。