On Thursday 06 March 2003 18:07, Jonathan Li wrote:
> For example I have three databases, db1, db2, db3.
> I have used command "mysql> use db1;" to select db1, then forsome silly
> reason I forgot which db I am in. Is there a quick mysql command that
> can show that you are in "db1"?
Use:
SELEC
* Jonathan Li
> For example I have three databases, db1, db2, db3.
> I have used command "mysql> use db1;" to select db1, then forsome silly
> reason I forgot which db I am in. Is there a quick mysql command that
> can show that you are in "db1"?
select database();
or \s (or "status") in the st
For example I have three databases, db1, db2, db3.
I have used command "mysql> use db1;" to select db1, then forsome silly
reason I forgot which db I am in. Is there a quick mysql command that
can show that you are in "db1"?
Cheers
Jonathan
--