301 lines
11 KiB
Plaintext
301 lines
11 KiB
Plaintext
@echo off
|
|
D:
|
|
cd D:/Program/Development/Environment/phpstudy_pro/Extensions/MySQL8.0.12/bin
|
|
mysql -hlocalhost -uroot -proot neteasemusic
|
|
use neteasemusic;
|
|
source D:/sql_export/album/album_0.sql
|
|
rename table album to album_0000;
|
|
source D:/sql_export/album/album_1.sql
|
|
rename table album to album_0001;
|
|
source D:/sql_export/album/album_2.sql
|
|
rename table album to album_0002;
|
|
source D:/sql_export/album/album_3.sql
|
|
rename table album to album_0003;
|
|
source D:/sql_export/album/album_4.sql
|
|
rename table album to album_0004;
|
|
source D:/sql_export/album/album_5.sql
|
|
rename table album to album_0005;
|
|
source D:/sql_export/album/album_6.sql
|
|
rename table album to album_0006;
|
|
source D:/sql_export/album/album_7.sql
|
|
rename table album to album_0007;
|
|
source D:/sql_export/album/album_8.sql
|
|
rename table album to album_0008;
|
|
source D:/sql_export/album/album_9.sql
|
|
rename table album to album_0009;
|
|
source D:/sql_export/album/album_10.sql
|
|
rename table album to album_0010;
|
|
source D:/sql_export/album/album_11.sql
|
|
rename table album to album_0011;
|
|
source D:/sql_export/album/album_12.sql
|
|
rename table album to album_0012;
|
|
source D:/sql_export/album/album_13.sql
|
|
rename table album to album_0013;
|
|
source D:/sql_export/album/album_14.sql
|
|
rename table album to album_0014;
|
|
source D:/sql_export/album/album_15.sql
|
|
rename table album to album_0015;
|
|
source D:/sql_export/album/album_16.sql
|
|
rename table album to album_0016;
|
|
source D:/sql_export/album/album_17.sql
|
|
rename table album to album_0017;
|
|
source D:/sql_export/album/album_18.sql
|
|
rename table album to album_0018;
|
|
source D:/sql_export/album/album_19.sql
|
|
rename table album to album_0019;
|
|
source D:/sql_export/album/album_20.sql
|
|
rename table album to album_0020;
|
|
source D:/sql_export/album/album_21.sql
|
|
rename table album to album_0021;
|
|
source D:/sql_export/album/album_22.sql
|
|
rename table album to album_0022;
|
|
source D:/sql_export/album/album_23.sql
|
|
rename table album to album_0023;
|
|
source D:/sql_export/album/album_24.sql
|
|
rename table album to album_0024;
|
|
source D:/sql_export/album/album_25.sql
|
|
rename table album to album_0025;
|
|
source D:/sql_export/album/album_26.sql
|
|
rename table album to album_0026;
|
|
source D:/sql_export/album/album_27.sql
|
|
rename table album to album_0027;
|
|
source D:/sql_export/album/album_28.sql
|
|
rename table album to album_0028;
|
|
source D:/sql_export/album/album_29.sql
|
|
rename table album to album_0029;
|
|
source D:/sql_export/album/album_30.sql
|
|
rename table album to album_0030;
|
|
source D:/sql_export/album/album_31.sql
|
|
rename table album to album_0031;
|
|
source D:/sql_export/album/album_32.sql
|
|
rename table album to album_0032;
|
|
source D:/sql_export/album/album_33.sql
|
|
rename table album to album_0033;
|
|
source D:/sql_export/album/album_34.sql
|
|
rename table album to album_0034;
|
|
source D:/sql_export/album/album_35.sql
|
|
rename table album to album_0035;
|
|
source D:/sql_export/album/album_36.sql
|
|
rename table album to album_0036;
|
|
source D:/sql_export/album/album_37.sql
|
|
rename table album to album_0037;
|
|
source D:/sql_export/album/album_38.sql
|
|
rename table album to album_0038;
|
|
source D:/sql_export/album/album_39.sql
|
|
rename table album to album_0039;
|
|
source D:/sql_export/album/album_40.sql
|
|
rename table album to album_0040;
|
|
source D:/sql_export/album/album_41.sql
|
|
rename table album to album_0041;
|
|
source D:/sql_export/album/album_42.sql
|
|
rename table album to album_0042;
|
|
source D:/sql_export/album/album_43.sql
|
|
rename table album to album_0043;
|
|
source D:/sql_export/album/album_44.sql
|
|
rename table album to album_0044;
|
|
source D:/sql_export/album/album_45.sql
|
|
rename table album to album_0045;
|
|
source D:/sql_export/album/album_46.sql
|
|
rename table album to album_0046;
|
|
source D:/sql_export/album/album_47.sql
|
|
rename table album to album_0047;
|
|
source D:/sql_export/album/album_48.sql
|
|
rename table album to album_0048;
|
|
source D:/sql_export/album/album_49.sql
|
|
rename table album to album_0049;
|
|
source D:/sql_export/album/album_50.sql
|
|
rename table album to album_0050;
|
|
source D:/sql_export/album/album_51.sql
|
|
rename table album to album_0051;
|
|
source D:/sql_export/album/album_52.sql
|
|
rename table album to album_0052;
|
|
source D:/sql_export/album/album_53.sql
|
|
rename table album to album_0053;
|
|
source D:/sql_export/album/album_54.sql
|
|
rename table album to album_0054;
|
|
source D:/sql_export/album/album_55.sql
|
|
rename table album to album_0055;
|
|
source D:/sql_export/album/album_56.sql
|
|
rename table album to album_0056;
|
|
source D:/sql_export/album/album_57.sql
|
|
rename table album to album_0057;
|
|
source D:/sql_export/album/album_58.sql
|
|
rename table album to album_0058;
|
|
source D:/sql_export/album/album_59.sql
|
|
rename table album to album_0059;
|
|
source D:/sql_export/album/album_60.sql
|
|
rename table album to album_0060;
|
|
source D:/sql_export/album/album_61.sql
|
|
rename table album to album_0061;
|
|
source D:/sql_export/album/album_62.sql
|
|
rename table album to album_0062;
|
|
source D:/sql_export/album/album_63.sql
|
|
rename table album to album_0063;
|
|
source D:/sql_export/album/album_64.sql
|
|
rename table album to album_0064;
|
|
source D:/sql_export/album/album_65.sql
|
|
rename table album to album_0065;
|
|
source D:/sql_export/album/album_66.sql
|
|
rename table album to album_0066;
|
|
source D:/sql_export/album/album_67.sql
|
|
rename table album to album_0067;
|
|
source D:/sql_export/album/album_68.sql
|
|
rename table album to album_0068;
|
|
source D:/sql_export/album/album_69.sql
|
|
rename table album to album_0069;
|
|
source D:/sql_export/album/album_70.sql
|
|
rename table album to album_0070;
|
|
source D:/sql_export/album/album_71.sql
|
|
rename table album to album_0071;
|
|
source D:/sql_export/album/album_72.sql
|
|
rename table album to album_0072;
|
|
source D:/sql_export/album/album_73.sql
|
|
rename table album to album_0073;
|
|
rename table album_0000 to album;
|
|
INSERT IGNORE INTO album SELECT * FROM album_0001;
|
|
drop table album_0001;
|
|
INSERT IGNORE INTO album SELECT * FROM album_0002;
|
|
drop table album_0002;
|
|
INSERT IGNORE INTO album SELECT * FROM album_0003;
|
|
drop table album_0003;
|
|
INSERT IGNORE INTO album SELECT * FROM album_0004;
|
|
drop table album_0004;
|
|
INSERT IGNORE INTO album SELECT * FROM album_0005;
|
|
drop table album_0005;
|
|
INSERT IGNORE INTO album SELECT * FROM album_0006;
|
|
drop table album_0006;
|
|
INSERT IGNORE INTO album SELECT * FROM album_0007;
|
|
drop table album_0007;
|
|
INSERT IGNORE INTO album SELECT * FROM album_0008;
|
|
drop table album_0008;
|
|
INSERT IGNORE INTO album SELECT * FROM album_0009;
|
|
drop table album_0009;
|
|
INSERT IGNORE INTO album SELECT * FROM album_0010;
|
|
drop table album_0010;
|
|
INSERT IGNORE INTO album SELECT * FROM album_0011;
|
|
drop table album_0011;
|
|
INSERT IGNORE INTO album SELECT * FROM album_0012;
|
|
drop table album_0012;
|
|
INSERT IGNORE INTO album SELECT * FROM album_0013;
|
|
drop table album_0013;
|
|
INSERT IGNORE INTO album SELECT * FROM album_0014;
|
|
drop table album_0014;
|
|
INSERT IGNORE INTO album SELECT * FROM album_0015;
|
|
drop table album_0015;
|
|
INSERT IGNORE INTO album SELECT * FROM album_0016;
|
|
drop table album_0016;
|
|
INSERT IGNORE INTO album SELECT * FROM album_0017;
|
|
drop table album_0017;
|
|
INSERT IGNORE INTO album SELECT * FROM album_0018;
|
|
drop table album_0018;
|
|
INSERT IGNORE INTO album SELECT * FROM album_0019;
|
|
drop table album_0019;
|
|
INSERT IGNORE INTO album SELECT * FROM album_0020;
|
|
drop table album_0020;
|
|
INSERT IGNORE INTO album SELECT * FROM album_0021;
|
|
drop table album_0021;
|
|
INSERT IGNORE INTO album SELECT * FROM album_0022;
|
|
drop table album_0022;
|
|
INSERT IGNORE INTO album SELECT * FROM album_0023;
|
|
drop table album_0023;
|
|
INSERT IGNORE INTO album SELECT * FROM album_0024;
|
|
drop table album_0024;
|
|
INSERT IGNORE INTO album SELECT * FROM album_0025;
|
|
drop table album_0025;
|
|
INSERT IGNORE INTO album SELECT * FROM album_0026;
|
|
drop table album_0026;
|
|
INSERT IGNORE INTO album SELECT * FROM album_0027;
|
|
drop table album_0027;
|
|
INSERT IGNORE INTO album SELECT * FROM album_0028;
|
|
drop table album_0028;
|
|
INSERT IGNORE INTO album SELECT * FROM album_0029;
|
|
drop table album_0029;
|
|
INSERT IGNORE INTO album SELECT * FROM album_0030;
|
|
drop table album_0030;
|
|
INSERT IGNORE INTO album SELECT * FROM album_0031;
|
|
drop table album_0031;
|
|
INSERT IGNORE INTO album SELECT * FROM album_0032;
|
|
drop table album_0032;
|
|
INSERT IGNORE INTO album SELECT * FROM album_0033;
|
|
drop table album_0033;
|
|
INSERT IGNORE INTO album SELECT * FROM album_0034;
|
|
drop table album_0034;
|
|
INSERT IGNORE INTO album SELECT * FROM album_0035;
|
|
drop table album_0035;
|
|
INSERT IGNORE INTO album SELECT * FROM album_0036;
|
|
drop table album_0036;
|
|
INSERT IGNORE INTO album SELECT * FROM album_0037;
|
|
drop table album_0037;
|
|
INSERT IGNORE INTO album SELECT * FROM album_0038;
|
|
drop table album_0038;
|
|
INSERT IGNORE INTO album SELECT * FROM album_0039;
|
|
drop table album_0039;
|
|
INSERT IGNORE INTO album SELECT * FROM album_0040;
|
|
drop table album_0040;
|
|
INSERT IGNORE INTO album SELECT * FROM album_0041;
|
|
drop table album_0041;
|
|
INSERT IGNORE INTO album SELECT * FROM album_0042;
|
|
drop table album_0042;
|
|
INSERT IGNORE INTO album SELECT * FROM album_0043;
|
|
drop table album_0043;
|
|
INSERT IGNORE INTO album SELECT * FROM album_0044;
|
|
drop table album_0044;
|
|
INSERT IGNORE INTO album SELECT * FROM album_0045;
|
|
drop table album_0045;
|
|
INSERT IGNORE INTO album SELECT * FROM album_0046;
|
|
drop table album_0046;
|
|
INSERT IGNORE INTO album SELECT * FROM album_0047;
|
|
drop table album_0047;
|
|
INSERT IGNORE INTO album SELECT * FROM album_0048;
|
|
drop table album_0048;
|
|
INSERT IGNORE INTO album SELECT * FROM album_0049;
|
|
drop table album_0049;
|
|
INSERT IGNORE INTO album SELECT * FROM album_0050;
|
|
drop table album_0050;
|
|
INSERT IGNORE INTO album SELECT * FROM album_0051;
|
|
drop table album_0051;
|
|
INSERT IGNORE INTO album SELECT * FROM album_0052;
|
|
drop table album_0052;
|
|
INSERT IGNORE INTO album SELECT * FROM album_0053;
|
|
drop table album_0053;
|
|
INSERT IGNORE INTO album SELECT * FROM album_0054;
|
|
drop table album_0054;
|
|
INSERT IGNORE INTO album SELECT * FROM album_0055;
|
|
drop table album_0055;
|
|
INSERT IGNORE INTO album SELECT * FROM album_0056;
|
|
drop table album_0056;
|
|
INSERT IGNORE INTO album SELECT * FROM album_0057;
|
|
drop table album_0057;
|
|
INSERT IGNORE INTO album SELECT * FROM album_0058;
|
|
drop table album_0058;
|
|
INSERT IGNORE INTO album SELECT * FROM album_0059;
|
|
drop table album_0059;
|
|
INSERT IGNORE INTO album SELECT * FROM album_0060;
|
|
drop table album_0060;
|
|
INSERT IGNORE INTO album SELECT * FROM album_0061;
|
|
drop table album_0061;
|
|
INSERT IGNORE INTO album SELECT * FROM album_0062;
|
|
drop table album_0062;
|
|
INSERT IGNORE INTO album SELECT * FROM album_0063;
|
|
drop table album_0063;
|
|
INSERT IGNORE INTO album SELECT * FROM album_0064;
|
|
drop table album_0064;
|
|
INSERT IGNORE INTO album SELECT * FROM album_0065;
|
|
drop table album_0065;
|
|
INSERT IGNORE INTO album SELECT * FROM album_0066;
|
|
drop table album_0066;
|
|
INSERT IGNORE INTO album SELECT * FROM album_0067;
|
|
drop table album_0067;
|
|
INSERT IGNORE INTO album SELECT * FROM album_0068;
|
|
drop table album_0068;
|
|
INSERT IGNORE INTO album SELECT * FROM album_0069;
|
|
drop table album_0069;
|
|
INSERT IGNORE INTO album SELECT * FROM album_0070;
|
|
drop table album_0070;
|
|
INSERT IGNORE INTO album SELECT * FROM album_0071;
|
|
drop table album_0071;
|
|
INSERT IGNORE INTO album SELECT * FROM album_0072;
|
|
drop table album_0072;
|
|
INSERT IGNORE INTO album SELECT * FROM album_0073;
|
|
drop table album_0073;
|
|
echo done. |