微信省市区 Mysql数据库

$jsonStr = ‘[{"cities":["\u5b89\u5e86","\u868c\u57e0","\u4eb3\u5dde","\u5de2\u6e56","\u6ec1\u5dde","\u6c60\u5dde","\u961c\u9633","\u6dee\u5317","\u5408\u80a5","\u6dee\u5357","\u9ec4\u5c71","\u516d\u5b89","\u9a6c\u978d\u5c71","\u5bbf\u5dde","\u94dc\u9675","\u829c\u6e56","\u5ba3\u57ce"],"state":"\u5b89\u5fbd"},{"cities":["\u5927\u5802\u533a","\u6c39\u4ed4","\u98ce\u987a\u5802\u533a","\u82b1\u5730\u739b\u5802\u533a","\u8def\u73af\u5c9b","\u5723\u5b89\u591a\u5c3c\u5802\u533a","\u671b\u5fb7\u5802\u533a"],"state":"\u6fb3\u95e8"},{"cities":["\u660c\u5e73","\u671d\u9633","\u4e1c\u57ce","\u5927\u5174","\u623f\u5c71","\u4e30\u53f0","\u6d77\u6dc0","\u6000\u67d4","\u95e8\u5934\u6c9f","\u5bc6\u4e91","\u5e73\u8c37","\u77f3\u666f\u5c71","\u987a\u4e49","\u901a\u5dde","\u897f\u57ce","\u5ef6\u5e86"],"state":"\u5317\u4eac"},{"cities":["\u5317\u789a","\u5df4\u5357","\u74a7\u5c71","\u57ce\u53e3","\u957f\u5bff","\u5927\u6e21\u53e3","\u57ab\u6c5f","\u5927\u8db3","\u4e30\u90fd","\u5949\u8282","\u6daa\u9675","\u5408\u5ddd","\u6c5f\u5317","\u6c5f\u6d25","\u4e5d\u9f99\u5761","\u5f00\u53bf","\u4e24\u6c5f\u65b0\u533a","\u6881\u5e73","\u5357\u5cb8","\u5357\u5ddd","\u5f6d\u6c34","\u7da6\u6c5f","\u9ed4\u6c5f","\u8363\u660c","\u6c99\u576a\u575d","\u53cc\u6865","\u77f3\u67f1","\u94dc\u6881","\u6f7c\u5357","\u6b66\u9686","\u5deb\u5c71","\u4e07\u76db","\u5deb\u6eaa","\u4e07\u5dde","\u79c0\u5c71","\u6e1d\u5317","\u6c38\u5ddd","\u9149\u9633","\u4e91\u9633","\u6e1d\u4e2d","\u5fe0\u53bf"],"state":"\u91cd\u5e86"},{"cities":["\u798f\u5dde","\u9f99\u5ca9","\u5b81\u5fb7","\u5357\u5e73","\u8386\u7530","\u6cc9\u5dde","\u4e09\u660e","\u53a6\u95e8","\u6f33\u5dde"],"state":"\u798f\u5efa"},{"cities":["\u767d\u94f6","\u5b9a\u897f","\u7518\u5357","\u91d1\u660c","\u9152\u6cc9","\u5609\u5cea\u5173","\u9647\u5357","\u4e34\u590f","\u5170\u5dde","\u5e73\u51c9","\u5e86\u9633","\u5929\u6c34","\u6b66\u5a01","\u5f20\u6396"],"state":"\u7518\u8083"},{"cities":["\u6f6e\u5dde","\u4e1c\u839e","\u4f5b\u5c71","\u5e7f\u5dde","\u6cb3\u6e90","\u60e0\u5dde","\u6c5f\u95e8","\u63ed\u9633","\u8302\u540d","\u6885\u5dde","\u6e05\u8fdc","\u97f6\u5173","\u6c55\u5934","\u6c55\u5c3e","\u6df1\u5733","\u4e91\u6d6e","\u9633\u6c5f","\u73e0\u6d77","\u6e5b\u6c5f","\u8087\u5e86","\u4e2d\u5c71"],"state":"\u5e7f\u4e1c"},{"cities":["\u5317\u6d77","\u767e\u8272","\u5d07\u5de6","\u9632\u57ce\u6e2f","\u8d35\u6e2f","\u6842\u6797","\u6cb3\u6c60","\u8d3a\u5dde","\u6765\u5bbe","\u67f3\u5dde","\u5357\u5b81","\u94a6\u5dde","\u68a7\u5dde","\u7389\u6797"],"state":"\u5e7f\u897f"},{"cities":["\u5b89\u987a","\u6bd5\u8282","\u8d35\u9633","\u516d\u76d8\u6c34","\u9ed4\u4e1c\u5357","\u9ed4\u5357","\u9ed4\u897f\u5357","\u94dc\u4ec1","\u9075\u4e49"],"state":"\u8d35\u5dde"},{"cities":["\u767d\u6c99","\u4fdd\u4ead","\u660c\u6c5f","\u6f84\u8fc8","\u5b9a\u5b89","\u4e1c\u65b9","\u510b\u5dde","\u6d77\u53e3","\u4e50\u4e1c","\u4e34\u9ad8","\u9675\u6c34","\u743c\u6d77","\u743c\u4e2d","\u4e09\u6c99","\u4e09\u4e9a","\u5c6f\u660c","\u6587\u660c","\u4e07\u5b81","\u4e94\u6307\u5c71"],"state":"\u6d77\u5357"},{"cities":["\u4fdd\u5b9a","\u627f\u5fb7","\u6ca7\u5dde","\u90af\u90f8","\u8861\u6c34","\u5eca\u574a","\u79e6\u7687\u5c9b","\u77f3\u5bb6\u5e84","\u5510\u5c71","\u90a2\u53f0","\u5f20\u5bb6\u53e3"],"state":"\u6cb3\u5317"},{"cities":["\u5927\u5e86","\u5927\u5174\u5b89\u5cad","\u54c8\u5c14\u6ee8","\u9e64\u5c97","\u9ed1\u6cb3","\u4f73\u6728\u65af","\u9e21\u897f","\u7261\u4e39\u6c5f","\u9f50\u9f50\u54c8\u5c14","\u4e03\u53f0\u6cb3","\u7ee5\u5316","\u53cc\u9e2d\u5c71","\u4f0a\u6625"],"state":"\u9ed1\u9f99\u6c5f"},{"cities":["\u5b89\u9633","\u9e64\u58c1","\u6d4e\u6e90","\u7126\u4f5c","\u5f00\u5c01","\u6f2f\u6cb3","\u6d1b\u9633","\u5357\u9633","\u5e73\u9876\u5c71","\u6fee\u9633","\u4e09\u95e8\u5ce1","\u5546\u4e18","\u8bb8\u660c","\u65b0\u4e61","\u4fe1\u9633","\u5468\u53e3","\u9a7b\u9a6c\u5e97","\u90d1\u5dde"],"state":"\u6cb3\u5357"},{"cities":["\u6069\u65bd","\u9102\u5dde","\u9ec4\u5188","\u9ec4\u77f3","\u8346\u95e8","\u8346\u5dde","\u6f5c\u6c5f","\u795e\u519c\u67b6","\u5341\u5830","\u968f\u5dde","\u5929\u95e8","\u6b66\u6c49","\u5b5d\u611f","\u54b8\u5b81","\u4ed9\u6843","\u8944\u9633","\u5b9c\u660c"],"state":"\u6e56\u5317"},{"cities":["\u5e38\u5fb7","\u957f\u6c99","\u90f4\u5dde","\u6000\u5316","\u8861\u9633","\u5a04\u5e95","\u90b5\u9633","\u6e58\u6f6d","\u6e58\u897f","\u76ca\u9633","\u5cb3\u9633","\u6c38\u5dde","\u5f20\u5bb6\u754c","\u682a\u6d32"],"state":"\u6e56\u5357"},{"cities":["\u5e38\u5dde","\u6dee\u5b89","\u8fde\u4e91\u6e2f","\u5357\u4eac","\u5357\u901a","\u5bbf\u8fc1","\u82cf\u5dde","\u6cf0\u5dde","\u65e0\u9521","\u5f90\u5dde","\u76d0\u57ce","\u626c\u5dde","\u9547\u6c5f"],"state":"\u6c5f\u82cf"},{"cities":["\u629a\u5dde","\u8d63\u5dde","\u5409\u5b89","\u666f\u5fb7\u9547","\u4e5d\u6c5f","\u5357\u660c","\u840d\u4e61","\u4e0a\u9976","\u65b0\u4f59","\u5b9c\u6625","\u9e70\u6f6d"],"state":"\u6c5f\u897f"},{"cities":["\u767d\u57ce","\u767d\u5c71","\u957f\u6625","\u5409\u6797","\u8fbd\u6e90","\u56db\u5e73","\u677e\u539f","\u901a\u5316","\u5ef6\u8fb9"],"state":"\u5409\u6797"},{"cities":["\u978d\u5c71","\u672c\u6eaa","\u671d\u9633","\u4e39\u4e1c","\u5927\u8fde","\u629a\u987a","\u961c\u65b0","\u846b\u82a6\u5c9b","\u9526\u5dde","\u8fbd\u9633","\u76d8\u9526","\u6c88\u9633","\u94c1\u5cad","\u8425\u53e3"],"state":"\u8fbd\u5b81"},{"cities":["\u963f\u62c9\u5584","\u5305\u5934","\u5df4\u5f66\u6dd6\u5c14","\u8d64\u5cf0","\u9102\u5c14\u591a\u65af","\u547c\u548c\u6d69\u7279","\u547c\u4f26\u8d1d\u5c14","\u901a\u8fbd","\u4e4c\u6d77","\u4e4c\u5170\u5bdf\u5e03","\u5174\u5b89","\u9521\u6797\u90ed\u52d2"],"state":"\u5185\u8499\u53e4"},{"cities":["\u56fa\u539f","\u77f3\u5634\u5c71","\u5434\u5fe0","\u94f6\u5ddd","\u4e2d\u536b"],"state":"\u5b81\u590f"},{"cities":["\u679c\u6d1b","\u6d77\u5317","\u6d77\u4e1c","\u6d77\u5357","\u9ec4\u5357","\u6d77\u897f","\u897f\u5b81","\u7389\u6811"],"state":"\u9752\u6d77"},{"cities":["\u5b89\u5eb7","\u5b9d\u9e21","\u6c49\u4e2d","\u5546\u6d1b","\u94dc\u5ddd","\u6e2d\u5357","\u897f\u5b89","\u54b8\u9633","\u5ef6\u5b89","\u6986\u6797"],"state":"\u9655\u897f"},{"cities":["\u6ee8\u5dde","\u4e1c\u8425","\u5fb7\u5dde","\u8377\u6cfd","\u6d4e\u5357","\u6d4e\u5b81","\u804a\u57ce","\u83b1\u829c","\u4e34\u6c82","\u9752\u5c9b","\u65e5\u7167","\u6cf0\u5b89","\u6f4d\u574a","\u5a01\u6d77","\u70df\u53f0","\u6dc4\u535a","\u67a3\u5e84"],"state":"\u5c71\u4e1c"},{"cities":["\u5b9d\u5c71","\u5d07\u660e","\u957f\u5b81","\u5949\u8d24","\u8679\u53e3","\u9ec4\u6d66","\u9759\u5b89","\u5609\u5b9a","\u91d1\u5c71","\u5362\u6e7e","\u95f5\u884c","\u6d66\u4e1c\u65b0\u533a","\u666e\u9640","\u9752\u6d66","\u677e\u6c5f","\u5f90\u6c47","\u6768\u6d66","\u95f8\u5317"],"state":"\u4e0a\u6d77"},{"cities":["\u957f\u6cbb","\u5927\u540c","\u664b\u57ce","\u664b\u4e2d","\u4e34\u6c7e","\u5415\u6881","\u6714\u5dde","\u592a\u539f","\u5ffb\u5dde","\u8fd0\u57ce","\u9633\u6cc9"],"state":"\u5c71\u897f"},{"cities":["\u963f\u575d","\u5df4\u4e2d","\u6210\u90fd","\u5fb7\u9633","\u8fbe\u5dde","\u5e7f\u5b89","\u5e7f\u5143","\u7518\u5b5c","\u4e50\u5c71","\u51c9\u5c71","\u6cf8\u5dde","\u7709\u5c71","\u7ef5\u9633","\u5357\u5145","\u5185\u6c5f","\u6500\u679d\u82b1","\u9042\u5b81","\u96c5\u5b89","\u5b9c\u5bbe","\u81ea\u8d21","\u8d44\u9633"],"state":"\u56db\u5ddd"},{"cities":["\u9ad8\u96c4","\u82b1\u83b2","\u57fa\u9686","\u91d1\u95e8","\u5609\u4e49\u5e02","\u5609\u4e49\u53bf","\u8fde\u6c5f","\u82d7\u6817","\u5357\u6295","\u5c4f\u4e1c","\u6f8e\u6e56","\u53f0\u5317","\u53f0\u4e1c","\u53f0\u5357","\u6843\u56ed","\u53f0\u4e2d","\u65b0\u5317","\u65b0\u7af9","\u4e91\u6797","\u5b9c\u5170","\u5f70\u5316"],"state":"\u53f0\u6e7e"},{"cities":["\u5317\u8fb0","\u5b9d\u577b","\u6ee8\u6d77\u65b0\u533a","\u4e1c\u4e3d","\u6cb3\u5317","\u6cb3\u4e1c","\u548c\u5e73","\u7ea2\u6865","\u6cb3\u897f","\u9759\u6d77","\u6d25\u5357","\u84df\u53bf","\u5b81\u6cb3","\u5357\u5f00","\u6b66\u6e05","\u897f\u9752"],"state":"\u5929\u6d25"},{"cities":["\u5317\u533a","\u5927\u57d4\u533a","\u4e1c\u533a","\u89c2\u5858\u533a","\u9ec4\u5927\u4ed9\u533a","\u4e5d\u9f99\u57ce\u533a","\u8475\u9752\u533a","\u79bb\u5c9b\u533a","\u5357\u533a","\u8343\u6e7e\u533a","\u6df1\u6c34\u57d7\u533a","\u6c99\u7530\u533a","\u5c6f\u95e8\u533a","\u6e7e\u4ed4\u533a","\u897f\u8d21\u533a","\u6cb9\u5c16\u65fa\u533a","\u5143\u6717\u533a","\u4e2d\u897f\u533a"],"state":"\u9999\u6e2f"},{"cities":["\u963f\u514b\u82cf","\u963f\u62c9\u5c14","\u963f\u52d2\u6cf0","\u535a\u5c14\u5854\u62c9","\u5df4\u97f3\u90ed\u695e","\u660c\u5409","\u54c8\u5bc6","\u548c\u7530","\u514b\u62c9\u739b\u4f9d","\u5580\u4ec0","\u514b\u5b5c\u52d2\u82cf","\u77f3\u6cb3\u5b50","\u5854\u57ce","\u5410\u9c81\u756a","\u56fe\u6728\u8212\u514b","\u4e94\u5bb6\u6e20","\u4e4c\u9c81\u6728\u9f50","\u4f0a\u7281"],"state":"\u65b0\u7586"},{"cities":["\u963f\u91cc","\u660c\u90fd","\u62c9\u8428","\u6797\u829d","\u90a3\u66f2","\u65e5\u5580\u5219","\u5c71\u5357"],"state":"\u897f\u85cf"},{"cities":["\u601d\u8305","\u4fdd\u5c71","\u695a\u96c4","\u5fb7\u5b8f","\u5927\u7406","\u8fea\u5e86","\u7ea2\u6cb3","\u6606\u660e","\u4e34\u6ca7","\u4e3d\u6c5f","\u6012\u6c5f","\u666e\u6d31","\u66f2\u9756","\u6587\u5c71","\u897f\u53cc\u7248\u7eb3","\u7389\u6eaa","\u662d\u901a"],"state":"\u4e91\u5357"},{"cities":["\u676d\u5dde","\u6e56\u5dde","\u91d1\u534e","\u5609\u5174","\u4e3d\u6c34","\u5b81\u6ce2","\u8862\u5dde","\u7ecd\u5174","\u53f0\u5dde","\u6e29\u5dde","\u821f\u5c71"],"state":"\u6d59\u6c5f"}]‘;
        $cityList = json_decode($jsonStr,true);

sql文件下载:下载

数据来源:http://blog.csdn.net/a416863220/article/details/51914574

时间: 2024-10-23 12:21:17

微信省市区 Mysql数据库的相关文章

省市区 Mysql 数据库表

1.查省SELECT * FROM china WHERE china.Pid=02.查市SELECT * FROM chinaWHERE china.Pid=3300003.查区SELECT * FROM china WHERE china.Pid = 3301004.Mysql脚本[sql] view plaincopy/*  Navicat MySQL Data Transfer    Source Server         : MySQL  Source Server Version

微信开发 BAE运平台和java语音,微信mysql数据库开发实例 --图文开发教程

持续更新中 BAE java开发mysql数据库 图文教程 BAE java语言开发mysql源代码下载: 目前微信开发.BAE开发.java开发.mysql开发的教程很多,但是没有一个详细的介绍基于BAE平台.java语言和mysql数据库的微信开发教程.所以写了该教程,希望能给大家一点启发. 教程分为: 1.申请BAE账户: 2.在BAE平台建立web服务器应用: 3.在BAE平台建立mysql数据库服务器应用: 4.使用eclipse开发基于BAE平台的处理微信消息的web服务器系统: 5

2019年最新全国省市区街道共46462条数据(统计局MySQL数据库)

2019年最新全国省市区街道共46462条数据(统计局MySQL数据库) 查看百度网盘: 看到有很多朋友没有积分,很理解找资源费时间的心情,现已上传到百度云盘,直接下载 https://pan.baidu.com/s/1fDeEp5C-WGx-6Z1xPDjwGg 提取码:9ki4 只求给文章点个赞,让更多需要的人看到 原文地址:https://www.cnblogs.com/hfultrastrong/p/12689724.html

【微信开发】LINUX-windows下用navicat远程链接虚拟机Linux下MySQL数据库

今天想用navicat远程连接虚拟机中的MySQL数据库,一直连不上,在网上搜索了一下,发现原因是MySQL对远程用户登陆的授权问题. MySQL登陆:mysql -h主机地址 -u用户名-p用户密码 1.例1:连接到本机上的MYSQL 找到mysql的安装目录,一般可以直接键入命令mysql -uroot -p,回车后提示你输密码, 输入密码,直接回车即可进入到MYSQL中了,MYSQL的提示符是:mysql> 2.连接到远程主机上的MySQL 假设远程主机的IP为:10.0.0.1,用户名为

关于微信中的数据库

关于微信中的数据库: 微信接口类似于(bae)所提供数据库,只能在其应用部署环境中使用,不能从外部连接.部署在bae中的程序也无法连接外部数据库地址,只能使用bae提供的数据库. 具体连接方法: 创建MySQL 在新版控制台选择进入某个应用,点击左边栏导航栏“应用引擎”,进入部署列表页.点击“扩展服务”可以查看并添加当前支持的所有服务.创建MySQL步骤如下: 1.点击“添加新服务”,选择MySQL. 图1 2.选择合适的数据库套餐(目前仅有256M内存.1G容量的免费套餐),点击创建. 图2

SpagoBI4.2汉化及配置Mysql数据库教程

SpagoBI4.2汉化及配置Mysql数据库教程 1.安装Mysql数据库 2.安装JDK并配置JAVA环境变量 3.下载SapagoBI4.2 allinone 安装包 4.解压缩SpagoBI安装包到E盘BI文件夹下 5.配置系统环境变量:CATALINA_HOME,路径为E:\BI\SpagoBI-Server-4.2-10042014 6.启动安装目录E:\BI\SpagoBI-Server-4.2-10042014\bin下的SpagoBIStartup.bat文件,当出现serve

MySQL 数据库主从复制架构

前文<MySQL 数据库事务与复制>分析了 MySQL 复制过程中如何保证 binlog 和事务数据之间的一致性,本文进一步分析引入从库后需要保证主从的数据一致性需要考虑哪些方面. 原生复制架构 MySQL 的原生复制架构原理如上图所示.从库的 I/O Thread 线程负责不断读取主库的 binlog 日志文件并写入本地的 Relay log 临时缓存.从库的 SQL Thread 线程则不断读取 Relay log 重放事件入库.整个过程看起来是比较简单清晰的,但其中有几个点对主从数据一致

二十、二十一天MySql数据库、jdbc

1 数据约束               1.1 简介                    给表添加数据约束,从而约束用户操作表数据的行为.                 1.2 默认值约束 注意: 当前没有插入默认值字段的时候,默认值才会起作用   -- 1.1 默认值(default)CREATE TABLE test(         NAME  VARCHAR(20),         gender  VARCHAR(2) DEFAULT '男') INSERT INTO test(

MySQL数据库运维课程

MySQL数据库运维课程 http://www.dataguru.cn/article-4834-1.html?union_site=comm100 课程大纲 第一课:机器选型.系统规划 第二课:安装部署 第三课:压力测试 第四课:性能优化 第五课:字符集和权限安全 第六课:日志系统 第七课:备份与恢复1 第八课:备份与恢复2 第九课:常用工具 第十课:MySQL集群 第十一课:分布式集群 第十二课:集群高可用(HA)和容灾演练 第十三课:自动化运维 第十四课:监控和审计系统 第十五课:成长规划