1
DROP SCHEMA IF EXISTS drizzledump_migrate_test1;
2
DROP SCHEMA IF EXISTS drizzledump_migrate_test2;
3
DROP SCHEMA IF EXISTS drizzledump_migrate_test3;
4
Dropping test database on MySQL...
5
Create test database on MySQL...
6
populating MySQL with test data...
7
calling drizzledump to populate Drizzle...
8
../client/drizzledump --compact --host=127.0.0.1 --port=13000 --destination-type=database --destination-host=localhost --destination-port=9306 --destination-user=root --user=root --databases drizzledump_migrate_test1 drizzledump_migrate_test2
13
drizzledump_migrate_test1
14
drizzledump_migrate_test2
19
SHOW CREATE TABLE drizzledump_migrate_test1.t1;
21
t1 CREATE TABLE `t1` (
23
`b` VARCHAR(10) COLLATE utf8_general_ci DEFAULT NULL
24
) ENGINE=InnoDB COLLATE = utf8_general_ci
25
SHOW CREATE TABLE drizzledump_migrate_test1.t2;
27
t2 CREATE TABLE `t2` (
29
`b` VARCHAR(10) COLLATE utf8_general_ci DEFAULT NULL
30
) ENGINE=InnoDB COLLATE = utf8_general_ci
31
SHOW CREATE TABLE drizzledump_migrate_test2.t1;
33
t1 CREATE TABLE `t1` (
35
`b` VARCHAR(10) COLLATE utf8_general_ci DEFAULT NULL
36
) ENGINE=InnoDB COLLATE = utf8_general_ci
37
SHOW CREATE TABLE drizzledump_migrate_test2.t2;
39
t2 CREATE TABLE `t2` (
41
`b` VARCHAR(10) COLLATE utf8_general_ci DEFAULT NULL
42
) ENGINE=InnoDB COLLATE = utf8_general_ci
43
this doesn't fail, just doesn't show anything...
44
SHOW CREATE TABLE drizzledump_migrate_test3.t1;
46
SELECT * FROM drizzledump_migrate_test1.t1;
51
SELECT * FROM drizzledump_migrate_test1.t2;
58
SELECT * FROM drizzledump_migrate_test2.t1;
62
SELECT * FROM drizzledump_migrate_test2.t2;
66
SELECT * FROM drizzledump_migrate_test3.t1;
67
ERROR 42S02: Table 'drizzledump_migrate_test3.t1' doesn't exist
68
Dropping test database on MySQL...
69
DROP SCHEMA drizzledump_migrate_test1;
70
DROP SCHEMA drizzledump_migrate_test2;