![](https://img-blog.csdnimg.cn/20201014180756923.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Mysql
kinginblue
希望你顺利到达你要去的地方到了以后幸福美满 我一直在尽力从没停过
展开
-
MYSQL 计算经纬度距离
MySQL calculate distance between two latitude/longitude coordinates https://gist.github.com/Usse/4086343CREATE FUNCTION `lat_lng_distance` (lat1 FLOAT, lng1 FLOAT, lat2 FLOAT, lng2 FLOAT) RETURN转载 2016-05-31 22:49:15 · 2322 阅读 · 0 评论 -
CentOS yum 安装 Mysql5.7
CentOS 安装 Mysql5.7...原创 2017-03-09 01:25:17 · 683 阅读 · 0 评论 -
CentOS rpm 安装 Mysql5.6
CentOS rpm 安装 Mysql5.6...原创 2017-03-11 10:48:32 · 3897 阅读 · 0 评论 -
Mysql MySQLSyntaxErrorException Row size too large
Mysql MySQLSyntaxErrorException Row size too large...原创 2017-02-17 20:53:39 · 2640 阅读 · 0 评论 -
Mysql PacketTooBigException Packet for query is too large
Mysql PacketTooBigException Packet for query is too large...原创 2017-02-17 20:43:07 · 2691 阅读 · 0 评论 -
Mysql MysqlDataTruncation Data truncation Data too long for column
Mysql MysqlDataTruncation Data truncation Data too long for column...原创 2017-02-16 18:48:44 · 3596 阅读 · 0 评论 -
Mysql OPTION SQL_SELECT_LIMIT=DEFAULT 错误
Mysql OPTION SQL_SELECT_LIMIT=DEFAULT 错误...原创 2017-02-16 18:49:56 · 5950 阅读 · 0 评论 -
Java Mysql Emoji 配置
关键:把 Mysql 的字符集从 utf8 改为 utf8mb4...原创 2016-09-05 23:43:32 · 3950 阅读 · 3 评论 -
按经纬度搜索附近的人,并按距离排序的简单实现。
按经纬度搜索附近的人,并按距离排序的简单实现这是一种简单的实现,数据量不大的情况下还是能满足需求的,写在这里做一份记录。当然也希望有其他更好的方案。主要思路就是:先以自己的经纬度为中心,计算一定半径内的方形经纬度边界,然后用此方形经纬度边界过滤用户,并使用一个计算两点经纬度之间距离的自定义数据库函数计算距离,然后按计算得到的距离倒序计算一定半径内的方形经纬度long raidus = 10000;原创 2016-05-31 23:26:17 · 13248 阅读 · 4 评论 -
Mysql java.sql.SQLException: Unknown character set index for field '224' received from server.
Mysql java.sql.SQLException: Unknown character set index for field '224' received from server...原创 2017-07-06 22:24:30 · 5906 阅读 · 0 评论