Home
Sign Up
Sign In
• 请不要在回答技术问题时复制粘贴 AI 生成的内容
278.36
567.66
V2EX
›
程序员
关于在数据库存储 IPv6 地址
Livid
·
PRO
·
Apr 24, 2013
· 6609 views
This topic created in 4774 days ago, the information mentioned may be changed or developed.
http://stackoverflow.com/questions/420680/how-to-store-ipv6-compatible-address-in-a-relational-database
大家遇到过有这样需求的项目么,你是怎么处理的呢?
过有
IPv6
数据库
4 replies
•
1970-01-01 08:00:00 +08:00
1
bhuztez
Apr 24, 2013
文档在哭泣
http://www.postgresql.org/docs/current/static/datatype-net-types.html
2
Livid
MOD
OP
PRO
Apr 24, 2013
@
bhuztez
多谢。可惜目前这个项目用的是 MySQL 而且不可能换了,所以想和大家讨论一种比较科学的在 MySQL 里的做法。
3
Cadina
Apr 24, 2013
BITINT*2嘛,查询和建索引都会简单些
4
cutehalo
Apr 24, 2013
http://dev.mysql.com/doc/refman/5.6/en/miscellaneous-functions.html#function_inet6-aton
About
·
Help
·
Advertise
·
Blog
·
API
·
FAQ
·
Solana
·
5764 Online
Highest 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 71ms ·
UTC 02:08
·
PVG 10:08
·
LAX 19:08
·
JFK 22:08
♥ Do have faith in what you're doing.
❯