Connect to MySQL database
#!/bin/bash mysql -u [username] -p -h [database url or IP] # It will prompt for password # Connect to a table CONNECT [table name] show tables;