Getting table definitions on the command line in MySQL I am new to MySQL. I am trying to get table definitions from the database server (4.0.26).

I tried below steps to get information, running cmd as an administrator:

c:\&gt; cd mysql\bin\
c:\mysql\bin&gt;mysql -u username -p
password: password

mysql&gt;show database

    -&gt; (nothing comes up)


After closing and opening, same steps till password:

mysql&gt;use database
Database changed

mysql&gt;show tables

     -&gt; (nothing comes up)


I need to check two table definitions. What am I missing?
you need to add semicolon at the end of your command. 

     show databases;

     show tables;