ShowBox's mall is basically coming to an end. Some time ago introduced "ECmall batch add users." However, I found that there was no way to add malls in batches, so I spent another night researching adding malls in SQL, including partitions and permissions. First use this statement to call the store name and the owner name in A1 of Excel
, and call the owner id in B1 to generate the code to join the opening mall: ‘‘=CONCATENATE(INSERT INTO ecm_store VALUES (“, B1, ”‘, ‘”,A1,”‘, ‘”,A1,”‘, ”, NULL, ”, ”, ”, ”, ’1′ , ”, ’0′, ’0.00′, NULL, ’1′, ”, ’1282202793′, ’0′, NULL, ’14′, ’1′, ”, NULL , NULL , NULL , ”, ”, ”, ”, ”, ”);)’’‘‘INSERT INTO ecm_store VALUES (’14′, ‘A101′, &lsquo ;A101′, ”, NULL, ”, ”, ”, ”, ’1′, ”, ’0′, ’0.00′, NULL, ’1′, ”, ’1282202793′, ’0′, NULL, ’14′, ’1′, ”, NULL , NULL , NULL , ”, ”, &rdq Uo;, ”, ”, ”);’’ Then found that the mall partition is not set in the store's table, but also studied the partition and store relationship table. Use the Excel statement to call the store id in B1 to call the partition id in C1 to produce the SQL statement: ‘‘=CONCATENATE(INSERT INTO ecm_category_store (cate_id, store_id) VALUES (‘”,c1,”‘, ‘” ,B1,”‘);)’’‘‘INSERT INTO ecm_category_store (cate_id, store_id) VALUES (’1′, ’14′);’’ originally thought this would be fine, the result In the morning, after testing, they found that the permissions were wrong. So I re-examined the permission. We found that we used the all permission, so use the Excel statement to call the user id and the store id in D1 (I am the same): &lsquo ;‘=CONCATENATE(“INSERT INTO ecm_user_priv ( user_id , store_id , privs ) VALUES (‘”,D1,”‘, ‘”,D1,”‘, ‘all’); ”)’’‘‘INSERT INTO ecm_user_priv ( user_id , store_id , privs ) VALUES (‘”,14,”‘, ‘”,14,”‘, ‘all&rsquo ;);’’Last You can use ·· you have added more than 300 users ···
Find the virtual machine settings, set as shown below (additional figure: must be 3.0 u disk and pl
You all know what an IP address is, right? They are assigned to devices on the network to represent
In the era of Internet, the high availability of the network has always been a very critical part, n
DevOps is the key to more and more large companies and organizations, so it is important for us to r
Linux system DNS package uninstallation and installation method
Linux cd command Switch working directory
How to fix "fatal error: security/pam
Novice Academy: Installing two hard drives for the Linux operating system
centOS automatically installs php
Startup tutorial for multiple Oracle instances under Linux platform
View IO busy process ID under Linux
Linux rz transfer large files why it crashes
Modification of file access rights under Unix operating system
Win8 PC sales continue to slump
Win10 play "Plants vs. Zombies" flashback how to solve?
Windows Server 2008 new features analysis
8 reasons why you don't have to upgrade Windows 7 SP1
Win10 Command Prompt CMD Change Introduction
How to install DX11 Where is the dx11 installation path?
What is the function of the Win8 "Share" charm is