Database CLI
Jump to navigation
Jump to search
This page contains some helpful commands to use at the MariaDB CLI.
>SHOW DATABASES;
List all databases;>USE <database>;
Use a particular database, eg:>USE bplan;
;>SHOW TABLES;
List all tables in a database (after using USE);>DESCRIBE ; Prints the structure of a table, eg:
DESCRIBE tbl_entity;
;