← Back
Wed Jul 15 15:05:50 UTC 2026
=== STEP A: cat SQL and pipe to mysql (avoid docker cp) ===
SQL on host: 15279102 bytes
base64 encoding SQL...
real 0m0.063s
user 0m0.028s
sys 0m0.033s
b64 size: 20640191 bytes
streaming into container via stdin + base64 -d...
real 0m0.294s
user 0m0.009s
sys 0m0.041s
in container: 15279102 bytes
=== STEP B: drop wp_ tables too (in case WP-default install left them) ===
wp_ drops: 11 lines
ERROR at line 1: Unknown command '\"'.
tables in db now:
=== STEP C: import the SQL ===
starting import (this takes 30-90s)...
`updated_at_gmt` datetime DEFAULT NULL,
`updated_by` bigint(20) unsigned NOT NULL,
PRIMARY KEY (`id`),
KEY `order_id` (`order_id`),
KEY `meta_key` (`meta_key`),
CONSTRAINT `fk_tutor_ordermeta_order_id` FOREIGN KEY (`order_id`) REFERENCES `wpjo_tutor_orders` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_520_ci
--------------
ERROR 1005 (HY000) at line 14390: Can't create table `wordpress`.`SERVMASK_PREFIX_tutor_ordermeta` (errno: 150 "Foreign key constraint is incorrectly formed")
real 0m3.623s
user 0m0.021s
sys 0m0.019s
ERROR at line 1: Unknown command '\"'.
tables after:
ERROR at line 1: Unknown command '\"'.
wpjo_ tables:
--------------
SELECT COUNT(*) FROM wpjo_posts
--------------
ERROR 1146 (42S02) at line 1: Table 'wordpress.wpjo_posts' doesn't exist
posts:
ERROR at line 1: Unknown command '\"'.
pages:
--------------
SELECT COUNT(*) FROM wpjo_postmeta
--------------
ERROR 1146 (42S02) at line 1: Table 'wordpress.wpjo_postmeta' doesn't exist
postmeta:
=== done ===
Wed Jul 15 15:05:55 UTC 2026