mysql 在 mariadb 中转储丢失数据

mysql dump in maria db lost data

我将 mysql 转储导入到 maria 数据库中,但丢失了序列化数据。这可能吗?可能是导入过程或其他问题遗漏了?

除了 maria db 和 mysql,我还在 db 上进行搜索和替换以更改站点的域。这会导致序列化数据出现问题吗?

a:7:{s:15:"homepage_slider";a:1:{i:0;a:3:{s:10:"slide_text";s:30:"Think big. Act with knowledge.";s:10:"slide_link";a:1:{i:0;s:2:"22";}s:11:"slide_image";a:2:{s:13:"attachment_id";s:3:"132";s:3:"url";s:45:"//act.dev/app/uploads/2016/01/index_slide.png";}}}s:17:"homepage_triplets";a:3:{i:0;s:2:"22";i:1;s:2:"20";i:2;s:3:"113";}s:15:"social_networks";a:4:{i:0;a:2:{s:12:"network_name";s:8:"facebook";s:11:"network_url";s:31:"http://www.facebook.com/ACT.GE/";}i:1;a:2:{s:12:"network_name";s:8:"linkedin";s:11:"network_url";s:8:"http://2";}i:2;a:2:{s:12:"network_name";s:7:"twitter";s:11:"network_url";s:12:"http://asdas";}i:3;a:2:{s:12:"network_name";s:7:"youtube";s:11:"network_url";s:7:"http://";}}s:13:"office_on_map";a:8:{s:8:"location";s:38:"Sairme Hill, Tbilisi, Tbilisi, Georgia";s:5:"venue";s:14:"51 Sairme Hill";s:7:"address";s:11:"Sairme Hill";s:4:"city";s:7:"Tbilisi";s:5:"state";s:7:"Tbilisi";s:7:"country";s:7:"Georgia";s:3:"zip";s:4:"0194";s:11:"coordinates";a:2:{s:3:"lat";i:0;s:3:"lng";i:0;}}s:12:"office_email";s:14:"geo@act-gr.com";s:11:"office_tell";s:17:"+995 32 2422 322 ";s:14:"office_virtual";b:0;}

PHP 序列化对象包含字符串长度以及实际字符串值。因此,如果您使用外部工具修改它,则需要确保在更改字符串值时更改字符串长度。字符串的长度在 s:.

之后