Skip to content

Instantly share code, notes, and snippets.

View joskar201's full-sized avatar
💭
Browsing through interdisciplinary things and compressed ideas

joshua karanja joskar201

💭
Browsing through interdisciplinary things and compressed ideas
View GitHub Profile
@joskar201
joskar201 / mysqlBashQueries.sh
Created June 18, 2017 18:08
Connecting to a mysql database using bash.
mysql -u USER -pPASSWORD <<EOF #replace USER with your username and PASSWORD with your password
SQL_QUERY 1 #Write a real sql querry
SQL_QUERY 2 #Write a real sql querry
SQL_QUERY N #Write a real sql querry
EOF #terminate session.