Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6750117
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T12:46:13+00:00 2026-05-26T12:46:13+00:00

What I mean is I can access my database by executing the following commands

  • 0

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?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T12:46:14+00:00Added an answer on May 26, 2026 at 12:46 pm

    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:

    [...]
    mysql> describe my_table_one;
    mysql> show tables; -- again
    mysql> describe my_table_two;
    mysql> show databases; -- again
    mysql> use my_db_two;
    mysql> ...
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

How can i get value from database.php page? I mean we can access base
i am migrating from ms access database to mysql database with java frontend so
With ASP.NET 4 and Forms Authentication: Is it possible to use one database to
can someone give me an example of what a calculated control is in ms-access?
can we output a .jpg image or .gif image in C? I mean can
Does that mean that I can't share a Form between delphi 2007 and 2009?
I am learning C#.Can I mean closure as a construct that can adopt the
I mean a tool that can extract certain contents from old .NET 1.1 WinForm
Can somebody tell me what does this mean? I'm going trough Java book and
How can i print a webpage exactly how it looks like -- I mean

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.