摘要:
首先进入到所装文件bin目录 使用mongo命令进入shell后,先进行认证: ` use admin db.auth("admin用户名", "密码") ` 2. 认证通过后,再创建用户: use test db.createUser({ user: "testUser", pwd: "12345 阅读全文
摘要:
postgresql数据库经纬度转geometry 1、在postgresql数据库中,如果字段类型是geometry,更新该字段为经纬度(坐标),可以尝试采取以下脚本: 注意:108.658463 代表经度 34.1437代表纬度 中间没有逗号 update table set geom = ST 阅读全文