I want to make a bash script that connects to my MySQL server and inserts some valuse from a txt file. I have written this down:
#!/bin/bash echo \"INSERT I
#!/bin/bash username=root password=root dbname=myDB host=localhost TS=$(date +%s) echo $1 mysql -h$host -D$dbname -u$username -p$password -e"INSERT INTO dailyTemp (UTS, tempF) VALUES ($TS, $1);" exit 0