Hi there

Just type in: "show databases;", which will list all databases,
then type in: "use mysql;" or whichever database you require

Simple

Clive

hans schneidhofer wrote:
> hi list,
> have a simple newbie-question
> was looking for a possibility to go back one step after do a "use sample_db" 
> but cannot find anything in the doc-files.
> 
> what I mean is this :
> logging into mysql with using :
> mysql -u root -p
> then I get :
> mysql >
> now I'm using "use sample_db"
> and can do some learnings, but how can I get back before "use sample_db", so I 
> can do a "show databases;" and see the "mysql" database ?
> 
> thanks for helping and bye
> hans
> 
> ---------------------------------------------------------------------
> Before posting, please check:
>    http://www.mysql.com/manual.php   (the manual)
>    http://lists.mysql.com/           (the list archive)
> 
> To request this thread, e-mail <[EMAIL PROTECTED]>
> To unsubscribe, e-mail <[EMAIL PROTECTED]>
> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
> 
> 
> .
> 




---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to