connect_mysql.sh
#!/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;
#!/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;