re: How to find out the current DB

2003-03-07 Thread Egor Egorov
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

Re: How to find out the current DB

2003-03-06 Thread Roger Baklund
* 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

How to find out the current DB

2003-03-06 Thread 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"? Cheers Jonathan --