I am trying to create a database in mongo db using command use db shorten
when i run the mongod instance it outputs this

but when try to run mongo in the separate terminal it gives error creating a database

the data/db permissions are set to 755 and i couldn't find anything related to it