MySQL Forums
Forum List  »  Newbie

Command to automatically display a list of databases after logging in
Posted by: Sandesh D'Souza
Date: July 06, 2015 03:55AM

Hello Everyone,

I have to keep logging into different hosts and selecting different databases. Each time I login, I have to type the command -

show databases();

and then select a database and carry on with my work.

Is there a way for MySQL to automatically display a list of databases immediately after logging in? Would save me time in typing in those keystrokes.

Options: ReplyQuote


Subject
Written By
Posted
Command to automatically display a list of databases after logging in
July 06, 2015 03:55AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.