Difference between revisions of "MongoDB Getting Started"

From mi-linux
Jump to navigationJump to search
 
(14 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
== Using MongoDB ==
 
== 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.
+
Using MongoDB involves the following steps:
  
mi-linux can be accessed using a Secure Shell client, such as Putty, that is available using the Apps Anywhere system.
+
* [[MongoDB_UsingPutty| Using putty]]
 +
* [[MongoDB_StartingMongoDB| Starting MongoDB]]
  
== Starting MongoDB ==
 
 
Once logged in, to start MongoDB run either the following command:
 
 
runMongo
 
 
or once you have changed your password (see below):
 
 
runMongo yourPassword
 
 
 
== 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.
 
 
Note, the function names in <b>MongoDB</b> are case sensitive.
 
  
 
== Next Step ==
 
== Next Step ==
  
Return to the [[MongoDB_Workbook|Workbook]].
+
[[MongoDB_Overview|MongoDB]] Overview.

Latest revision as of 11:28, 27 October 2016

Main Page >> MongoDB >>MongoDB Workbook >> Getting Started

Using MongoDB

Using MongoDB involves the following steps:


Next Step

MongoDB Overview.