Commands
Command | Description |
---|---|
mysql -u <user> -p | login |
show databases; | shows dbs |
use <database> | switch to db |
show tables; | shows tables |
show columns from <tablename> | shows columns |
Command | Description |
---|---|
mysql -u <user> -p | login |
show databases; | shows dbs |
use <database> | switch to db |
show tables; | shows tables |
show columns from <tablename> | shows columns |