Difference between revisions of "MongoDB"

From mi-linux
Jump to navigationJump to search
(Created page with " == MongoDB Workbook == Not this workbook is currently in progress! MongoDB is a NoSQL database available on mi-linux, using a command line prompt. If you are taking a modul...")
 
Line 14: Line 14:
  
 
== Starting MongoDB ==
 
== Starting MongoDB ==
 +
 +
 +
 +
 +
== Changing Password ==
 +
 +
Once you have logged into MongoDB successfully you can change the default password:
 +
 +
db.updateUser("myStudentNumber",
 +
{
 +
pwd: "myNewPassword",
 +
    }
 +
);
 +
 +
 +
Replacing myStudentNumber with your University student number and myNewPasswor with your new password.

Revision as of 15:41, 18 October 2016

MongoDB Workbook

Not this workbook is currently in progress!

MongoDB is a NoSQL database available on mi-linux, using a command line prompt. If you are taking a module using this database you will have an account automatically created for you. If you are a Project student who wishes to use the database, please contact M.Garvey@wlv.ac.uk to get an account setup.


Using MongoDB

To access the database, first login to mi-linux.wlv.ac.uk (csl-student.wlv.ac.uk) using your University username and password.

mi-linux can be accessed using a Secure Shell client, such as Putty, that is available using the Apps Anywhere system.

Starting MongoDB

Changing Password

Once you have logged into MongoDB successfully you can change the default password:

db.updateUser("myStudentNumber",
{

pwd: "myNewPassword",

   }
);


Replacing myStudentNumber with your University student number and myNewPasswor with your new password.