mysql -u USER -pPASSWORD -N -e "SQL_QUERY"
mysql -u USER_NAME -pPASS_WORD -h hostname -D database -e "<SQL_QUERY>"
echo "SELECT * FROM tableG;" | mysql --user=username database