What I mean is I can access my database by executing the following commands one by one:
mysql -r root
mysql> show databases;
mysql> use database my_db_one;
mysql> show tables;
mysql> describe table my_table_one
...
But, after each of the above step, how to go one step back? What is the command for that?
I mean for example, after I describe table my_table_one, I want to show all databases again and use another database, how to go back in command line?
There is none, but none is necessary. With the exception of
USE(which always changes your current database to the one you specify), the MySQL command line is (largely) stateless, so you can always repeat a command you used earlier or try something different: