Cannot connect Mongodb in Ubuntu 18

I installed mongodb following all the documentation steps: https://docs.mongodb.com/manual/tutorial/install-mongodb-on-ubuntu/ the /var/lib/mongodbdirectory was not created. When i type mongo on terminal this is shown: $ mongo MongoDB shell version v4.2.2 connecting to: mongodb://127.0.0.1:27017/?compressors=disabled&gssapiServiceName=mongodb 2020-01-13T09:33:12.125-0300 E QUERY [js] Error: couldn’t connect to server 127.0.0.1:27017, connection attempt failed: SocketException: Error connecting to 127.0.0.1:27017 :: caused by :: Connection…

Details

SQL Server database delete duplicates trend values, but leave first and last

I have large database full of temperature values. Problem is that system saves lot of duplicate values, and now the SQL Server database is full (Express edition). Part of sample of data, using query SELECT [PointID], [Time], [Data] FROM TrendSamples WHERE pointid = 13 ORDER BY time DESC Result: PointID Time Data ——————————————— 13 2020-01-02…

Details

require(“http2”) in angular 7

I want to use http2 for client side in my angular project. const http2 = require(“http2”); const client = http2.connect(“http://localhost:8443”); const req = client.request({ “:path”: “/” }); When I wrote this code block for http2 request, I get error Module not found: Error: Can’t resolve ‘http2’ in ‘/path’ . There was http2 package (“npm install…

Details