Matomo数据库中location_ip与idvisitor如何转化成明文

在Matomo数据库中, 为了存储效率,IP地址和Visitor ID是以二进制的方式存储的,如果要还原这两个字段的可读形式,请使用下面的SQL语句。

欢迎加入Matomo中文网官方QQ群255820112(点击滚动至本页末可扫描二维码),随时提问,有问必答。

SELECT inet_ntoa(conv(hex(location_ip), 16, 10)) as ip, conv(hex(idvisitor), 16, 10) as visitorId FROM piwik_log_visit;

《Matomo数据库中location_ip与idvisitor如何转化成明文》有1条评论

  1. My spouse and I stumbled over here by a different web address and thought I should check things out. I like what I see so now i’m following you. Look forward to looking into your web page for a second time.

发表评论