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:
-
Step1 打开YouTube的字幕显示,手动复制到txt文件保存 Step2 将保存的txt程序运用下面代码转换成需要的srt文件,拖拽至视频即可播放 # -*- coding: utf-8 -*- """ Create...
-
Note: As of now, there are a number of languages that Google Assitant support and more are added rapidly. How To Change Google Assist...
-
Vernee是由中国深圳新英国网络技术有限公司生产的手机品牌。 该品牌成立于2016年2月,标志着New Bund从OEM/ODM转移到公共市场的第一步。 Vernee手机使用Android操作系统。 该公司的定价政策使他们能够将中型硬件放在低端价格上,并附有Android OS...
-
Free Registration Code for Gihosoft Android Data Recovery Software 2019 Free Gihosoft Android Data Recovery software is here! It is a pow...
-
For every marketer, online branding is a puzzle that they must piece together themselves. Let’s face it, the guides you can find online c...
-
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...
-
Starting a blog or a website isn’t the hardest part, getting noticed and attracting the right audience is. Many blogs and websites have gon...
-
Wondershare is an internationally recognized software company that offers a range of software products for Mac and Windows users. The compan...
-
Travis Jamison: Think Like an Investor with SEO Travis是Smash Digital (前称Supreme SEO)的创始人,本次演讲他主要谈的是怎么通过投资思维去增长一个SEO项目,并分享了过去几年利用这一思维,他成功变现...
-
Are you looking for various plugins to boost your SEO ? Did you know Yoast SEO is one of the ultimate SEO plugins for WordPress users ? I...
没有评论:
发表评论
注意:只有此博客的成员才能发布评论。