mysql print table cmd code example Example 1: show tables mysql SHOW TABLES; Example 2: how to check tables in mysql mysql -u user -p