Command
use mydb
Explanation
Switches the current database context. All subsequent operations will be performed on this database.
Examples
Switch to test database
use test
use mydb
Switches the current database context. All subsequent operations will be performed on this database.
Switch to test database
use test