insert into t_ip(ip) values (inet_aton(“192.168.14.112”));
select * from t_ip;
select inet_ntoa(ip) from t_ip;
MySQL用int型存储IP地址
最新推荐文章于 2024-03-19 17:36:11 发布
insert into t_ip(ip) values (inet_aton(“192.168.14.112”));
select * from t_ip;
select inet_ntoa(ip) from t_ip;