Is there any statement that can describe all tables in a database?
Something like this:
describe * from myDB;
mysql -B -N -u root -pPASSWORD -h somehost \ -e "SELECT DISTINCT CONCAT('describe ', table_name, ';') AS query FROM information_schema.tables WHERE table_schema='DATABASE_NAME_HERE' " | \ mysql -B -N -u root -pPASSWORD -h somehost DATABASE_NAME_HERE