The MongoDB service started successfully, but failed to connect to the database

the MongoDB service started successfully, but failed to connect to the database

according to the error message, it is said that the data directory was not found, but I configured the cfg file to point the data directory to another folder,

I think it is possible that when connecting to the database, I did not enter my cfg file at all. I would like to ask you how to solve this problem.

Thank you



Apr.07,2021

stop other services, and the command startup command is' mongo' typed incorrectly;

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e46311-443d4.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e46311-443d4.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?