2

我试图将与角色的 guid 相关的数据复制到另一个数据库(同一帐户),但它总是出现没有任何项目

我正在使用删除/插入

这来自inventori db,例如:

DELETE FROM `character_inventory` WHERE `item`=item;
INSERT INTO `character_inventory` VALUES (guid, bag, slot, item);

曾经导出/导入角色出现时没有物品:没有装备和库存

psd:我在关闭和打开服务器的情况下执行了查询,结果相同

4

1 回答 1

0

You can use this query to import the table content from another database.

INSERT INTO db1.`character_inventory` SELECT * FROM db2.`character_inventory` WHERE guid=XXX;

You need also to copy the item_instance table probably, so use:

INSERT INTO db1.`item_instance` SELECT * FROM db2.`item_instance`;
于 2019-10-03T20:36:42.823 回答