系统是ubuntu 腾讯云最新的那个
支行 apt show mongodb-server
有3.63 》安装
使用navicat 连接提示:
cannot connect to mongodb
no suitable servers found serverselectiontimeoutms expired connection refused calling ismaster on 'xx.xx.xx.xx:27017'
到ubuntu下:
运行pgrep mongo-l
提示 :19846 mongod
运行sudo systemctl start mongod 提示
“Failed to start mongod.service: Unit mongod.service not found.“
查询说是运行 sudo systemctl daemon-reload,再执行上面的命令,但是没有用,还是那个提示
怎么也连接不上