Connect to the database:

mysql [-u username] [-h hostname] database-name

To list all databases, in the MySQL prompt type:
show databases

Then choose the right database:
use <database-name>

List all tables in the database:
show tables

Describe a table:
desc <table-name>

From http://onewebsql.com/

Advertisements