Connecting to a Database – if database name is known: mysql -u<username> -p<password> <database-name> Connecting to a Database – if database name is not known: mysql -u<username> -p<password> Listing Databases: show databases; Connecting to a Database: use database <database-name>; Listing tables within a Database: show tables; Showing Contents of Table: select * from <table-name>;