Comments (3)
mongodb显示网络超时,连接的实例为无账号密码的,mongodb://127.0.0.1:27017
测试连接无账号密码本地 MongoDB 正常,你需要确认一下你本地的 MongoDB 服务是否启动正常,可以先用 MongoDB Compass 等工具连接测试一下。
from mayfly-go.
我这还是显示网络超时,但是用其他工具是正常的,请问在哪能看到相关的日志?我在nohup.out里没看到MongoDB相关的连接日志
from mayfly-go.
我觉得应该还是你应用启动环境的问题,应用启用的环境无法正常连接 mongo 数据库。你可以写个简单 mongo client 在 mayfly-go 启动环境中去试试能不能连上 mongo 数据库。
日志的话数据库的连接应该也只有一个操作,你填好数据然后 mayfly-go 去调用 mongo client 去连接数据库,这个操作本身也就只有连接成功跟连接失败两种状态。
from mayfly-go.
Related Issues (20)
- SSH连接不上
- 建议“SQL 执行记录”可按“执行人”查询
- “SQL 执行记录”页面上点击”还原SQL”按钮,页面没有反应
- 标签树创建问题 HOT 4
- 在SQL 脚本查询中创建表时不支持 current_timestamp() HOT 2
- 前端页面缺失一个clipboard包 HOT 1
- 是否有考虑支持oracle HOT 1
- 不支持mongodb sharding分片集群吗? HOT 1
- 执行Update操作报错
- 建议加个MongoDB索引管理
- 可否支持使用神通数据库 HOT 3
- 可否提供创建database的功能 HOT 1
- 建议增加一个更新脚本 HOT 1
- 系统配置参数新增 HOT 1
- 建议接入短信验证 HOT 1
- 使用Sqlite配置,默认的用户名密码是多少? HOT 1
- 是否有考虑支持clickhouse HOT 1
- Redis 数据操作时,scan 命令的风险 HOT 1
- {{.ID}} 脚本不支持双括号格式 HOT 2
- 文件夹上传报错
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mayfly-go.